MCPcopy Create free account
hub / github.com/OAID/Tengine / LoadImageFile

Function LoadImageFile

tools/bin/test_accuracy.cpp:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void LoadImageFile(std::vector<std::string>& result, const char* fname)
143{
144 std::ifstream images(fname);
145
146 std::string line;
147 while(std::getline(images, line))
148 result.push_back(line);
149}
150
151void LoadLableFile(std::vector<int>& result, const char* fname)
152{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected