INFO(l) << "Import Graph" << std::endl;
INFO(l) << locop::fmt<locop::Formatter::LinearV1>(g) << std::endl;
+ // This is work-around for tf2circle to fuse Instance Norm, while for
+ // tf2tflite not to do so (nnkit-tflite version issue)
+ // TODO Find better way. This is only temporal work-around!
+ setenv("EXO_UseFuseInstanceNormPass", "1", /* overwrite */ false);
+ setenv("EXO_UseFuseSquaredDifferencePass", "1", /* overwrite */ false);
+
std::cout << "Export into '" << circle_path << "'" << std::endl;
exo::CircleExporter(g.get()).dumpToFile(circle_path.c_str());
std::cout << "Export into '" << circle_path << "' - Done" << std::endl;