Skip to content

Commit db3a2b5

Browse files
Change log location
1 parent bf3ed06 commit db3a2b5

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/Microsoft.ML.Data/DataView/EmptyDataView.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,14 @@ private sealed class Cursor : RootCursorBase
4747
private readonly bool[] _active;
4848

4949
public override DataViewSchema Schema { get; }
50-
public override long Batch
51-
{
52-
get
53-
{
54-
Console.WriteLine("EmptyDataView.Cursor.Batch");
55-
return 0L;
56-
}
57-
}
50+
public override long Batch => 0;
5851

5952
public Cursor(IChannelProvider provider, DataViewSchema schema, IEnumerable<DataViewSchema.Column> columnsNeeded)
6053
: base(provider)
6154
{
6255
Ch.AssertValue(schema);
6356
Schema = schema;
6457
_active = Utils.BuildArray(Schema.Count, columnsNeeded);
65-
Console.WriteLine("new EmptyDataView.Cursor");
6658
}
6759

6860
public override ValueGetter<DataViewRowId> GetIdGetter()

src/Microsoft.ML.OnnxTransformer/OnnxTransform.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,11 @@ 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+
625630
outputCache.OutputOnnxValues?.Dispose();
626631
outputCache.OutputOnnxValues = _parent.Model.Run(inputNameOnnxValues, activeOutputColNames);
627632
Contracts.Assert(outputCache.OutputOnnxValues.Count > 0);

0 commit comments

Comments
 (0)