Skip to content

Commit

Permalink
fix bug for disabling ORT optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
xysmlx committed Nov 18, 2021
1 parent d42be30 commit 0a29cc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nnfusion/frontend/onnx_import/onnx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ namespace nnfusion

auto graph = load_onnx_model(ifs, model_dir, dim_params);

if (opt_fin.is_open())
{
remove(optimized_filename.c_str());
}
// if (opt_fin.is_open())
// {
// remove(optimized_filename.c_str());
// }

return graph;
}
Expand Down

0 comments on commit 0a29cc1

Please sign in to comment.