3 writes to OpType
Microsoft.ML.OnnxConverter (3)
OnnxMl.cs (2)
1446
OpType
= other.OpType;
1488
OpType
= input.ReadString();
OnnxUtils.cs (1)
173
node.
OpType
= opType;
12 references to OpType
Microsoft.ML.OnnxConverter (10)
OnnxMl.cs (10)
1338
if (
OpType
!= other.
OpType
) return false;
1352
if (
OpType
.Length != 0) hash ^=
OpType
.GetHashCode();
1379
if (
OpType
.Length != 0)
1382
output.WriteString(
OpType
);
1411
if (
OpType
.Length != 0)
1413
size += 1 + pb::CodedOutputStream.ComputeStringSize(
OpType
);
1444
if (other.
OpType
.Length != 0)
1446
OpType = other.
OpType
;
Microsoft.ML.Tests (2)
OnnxConversionTest.cs (2)
753
Assert.Equal("Scaler", model.Graph.Node[0].
OpType
);
754
Assert.Equal("LinearRegressor", model.Graph.Node[1].
OpType
);