Skip to content

Commit

Permalink
Fix build breakage due to master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavsharma committed Aug 13, 2019
1 parent ca86c2f commit b6f872f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ private void TestModelSerialization()
// Set the optimized model file path to assert that no exception are thrown.
SessionOptions options = new SessionOptions();
options.SetOptimizedModelFilePath(modelOutputPath);
options.SetSessionGraphOptimizationLevel(1);
options.SetSessionGraphOptimizationLevel(GraphOptimizationLevel.ORT_ENABLE_BASIC);
var session = new InferenceSession(modelPath, options);
Assert.NotNull(session);
Assert.True(File.Exists(modelOutputPath));
Expand Down

0 comments on commit b6f872f

Please sign in to comment.