std::unique_ptr<loco::Graph> graph = importer.import(signature, graph_def);
// what to test:
- // - there should exist ReLU
+ // - there should exist ReLU6
// - input node should not be nullptr
loco::ReLU6 *relu6_node = moco::tf::test::find_first_node_bytype<loco::ReLU6>(graph.get());
bool fix_shape(moco::tf::TFRelu *node)
{
- // Output shape is same as the input
+ // Output shape is same as the features
auto features = node->features();
return copy_shapedata(features, node);
}
bool fix_shape(moco::tf::TFRelu6 *node)
{
- // Output shape is same as the input
+ // Output shape is same as the features
auto features = node->features();
return copy_shapedata(features, node);
}