Skip to content

Commit b3d0862

Browse files
ADH-LukeBollamEsther2013
authored andcommitted
less loops so it doesnt waste so much time
1 parent 4cbf362 commit b3d0862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TensorFlowNet.Benchmarks/Leak/SavedModelCleanup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void Run()
1818
var modelDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
1919
var ClassifierModelPath = Path.Combine(modelDir, "Leak", "TestModel", "saved_model");
2020

21-
for (var i = 0; i < 1000; i++)
21+
for (var i = 0; i < 50; i++)
2222
{
2323
var session = Session.LoadFromSavedModel(ClassifierModelPath);
2424

0 commit comments

Comments
 (0)