aboutsummaryrefslogtreecommitdiff
path: root/src/armnnUtils/CsvReader.hpp
blob: 0d529804b6d8c658ba9339e9b6a1b296eec5b2f0 (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.
// See LICENSE file in the project root for full license information.
//
#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