Commit 0cc2c500 authored by Cresson Remi's avatar Cresson Remi

COMP: avoid warning

parent 718a8f35
......@@ -105,7 +105,9 @@ void GetTensorAttributes(const tensorflow::GraphDef & graph, std::vector<std::st
if (node.name().compare((*nameIt)) == 0)
{
found = true;
tensorflow::DataType ts_dt;
// Set default to DT_FLOAT
tensorflow::DataType ts_dt = tensorflow::DT_FLOAT;
// Default (input?) tensor type
auto test_is_output = node.attr().find("T");
......
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