Commit 9d3d1d66 authored by Paul's avatar Paul
Browse files

Rename file type variable

parent 0c6195ee
......@@ -35,8 +35,8 @@ struct loader
{
if(ends_with(file, ".onnx"))
file_type = "onnx";
else
(ends_with(file, ".pb")) file_type = "tf";
else if(ends_with(file, ".pb"))
file_type = "tf";
}
std::cout << "Reading: " << file << std::endl;
if(file_type == "onnx")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment