blob: d95f4f7055e4ec292f80c77b383b753da35d9ab7 [file] [log] [blame]
telsoa01c577f2c2018-08-31 09:22:23 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa01c577f2c2018-08-31 09:22:23 +01004//
5#pragma once
6
7#include <vector>
8#include <string>
9
10namespace armnnUtils
11{
12
13struct CsvRow
14{
15 std::vector<std::string> values;
16};
17
18class CsvReader
19{
20public:
21 static std::vector<CsvRow> ParseFile(const std::string& csvFile);
22
23 static std::vector<CsvRow> ParseVector(const std::vector<std::string>& csvVector);
24};
25} // namespace armnnUtils