MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / parse_from

Method parse_from

src/tf/tf_parser.cpp:384–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384void tf_parser::parse_from(std::istream& is)
385{
386 tensorflow::GraphDef graph;
387 if(graph.ParseFromIstream(&is))
388 {
389 this->parse_graph(graph);
390 }
391 else
392 {
393 throw std::runtime_error("Failed reading tf file");
394 }
395}
396
397void tf_parser::parse_from(const void* data, std::size_t size)
398{

Callers 1

parse_tf_fromFunction · 0.45

Calls 1

parse_graphMethod · 0.95

Tested by

no test coverage detected