blob: d95f4f7055e4ec292f80c77b383b753da35d9ab7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <vector>
#include <string>
namespace armnnUtils
{
struct CsvRow
{
std::vector<std::string> values;
};
class CsvReader
{
public:
static std::vector<CsvRow> ParseFile(const std::string& csvFile);
static std::vector<CsvRow> ParseVector(const std::vector<std::string>& csvVector);
};
} // namespace armnnUtils
|