Skip to content

Commit 33ef982

Browse files
Clean up for review
1 parent db3a2b5 commit 33ef982

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Microsoft.ML.OnnxTransformer/OnnxTransform.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,11 +622,6 @@ private void UpdateCacheIfNeeded(long position, INamedOnnxValueGetter[] srcNamed
622622
inputNameOnnxValues.Add(srcNamedOnnxValueGetters[i].GetNamedOnnxValue());
623623
}
624624

625-
foreach (var v in inputNameOnnxValues)
626-
{
627-
Console.WriteLine(v.Name);
628-
}
629-
630625
outputCache.OutputOnnxValues?.Dispose();
631626
outputCache.OutputOnnxValues = _parent.Model.Run(inputNameOnnxValues, activeOutputColNames);
632627
Contracts.Assert(outputCache.OutputOnnxValues.Count > 0);

test/Microsoft.ML.Tests/OnnxConversionTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using System.Text.RegularExpressions;
1010
using Google.Protobuf;
1111
using Microsoft.ML.Data;
12-
using Microsoft.Data.Analysis;
1312
using Microsoft.ML.EntryPoints;
1413
using Microsoft.ML.Model.OnnxConverter;
1514
using Microsoft.ML.RunTests;
@@ -1826,7 +1825,7 @@ public void UseKeyDataViewTypeAsUInt32InOnnxInput()
18261825
{
18271826
Assert.EndsWith(stdSuffix, name);
18281827
var colName = name.Replace(stdSuffix, "");
1829-
CompareResults(colName, colName, onnxResult.ToDataFrame(), onnxResult2.ToDataFrame());
1828+
CompareResults(colName, colName, onnxResult, onnxResult2);
18301829
}
18311830
(onnxTransformer as IDisposable)?.Dispose();
18321831
(onnxTransformer2 as IDisposable)?.Dispose();

0 commit comments

Comments
 (0)