ArmNN
 20.02
CsvReader.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include <vector>
8 #include <string>
9 
10 namespace armnnUtils
11 {
12 
13 struct CsvRow
14 {
15  std::vector<std::string> values;
16 };
17 
18 class CsvReader
19 {
20 public:
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
std::vector< std::string > values
Definition: CsvReader.hpp:15
std::string ParseFile(const BackendOptions::Var &value, std::string defaultValue)