Skip to content

Commit 63dabbc

Browse files
Update src/Microsoft.ML.TensorFlow/TensorflowUtils.cs
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
1 parent b29b60d commit 63dabbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.TensorFlow/TensorflowUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal static DataViewSchema GetModelSchema(IExceptionContext ectx, Graph grap
9090
DataViewType columnType = new VectorDataViewType(mlType);
9191
if (!(Utils.Size(tensorShape) == 1 && tensorShape[0] <= 0) &&
9292
(Utils.Size(tensorShape) > 0 && tensorShape.Skip(1).All(x => x > 0)))
93-
// When treatOutputAsBatched is true we keep the existing behaviour. This means that if the first dimension is greater
93+
// treatOutputAsBatched == true means that if the first dimension is greater
9494
// than 0 we take the tensor shape as is. If the first value is less then 0, we treat it as the batch input so we can
9595
// ignore it for the shape of the ML.NET vector. I.E. if the input dimensions are [-1, 5], ML.NET will read the -1 as
9696
// batch input, and so the ML.NET data type will be a vector of length 5.

0 commit comments

Comments
 (0)