4 writes to TensorType
Microsoft.ML.OnnxConverter (4)
OnnxMl.cs (3)
4343
TensorType
= other.TensorType.Clone();
4627
TensorType
= new global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.Tensor();
4683
TensorType
= subBuilder;
OnnxUtils.cs (1)
27
typeProto.
TensorType
= new TypeProto.Types.Tensor();
15 references to TensorType
Microsoft.ML.OnnxConverter (15)
OnnxMl.cs (10)
4343
TensorType = other.
TensorType
.Clone();
4503
if (!object.Equals(
TensorType
, other.
TensorType
)) return false;
4517
if (valueCase_ == ValueOneofCase.TensorType) hash ^=
TensorType
.GetHashCode();
4543
output.WriteMessage(
TensorType
);
4582
size += 1 + pb::CodedOutputStream.ComputeMessageSize(
TensorType
);
4625
if (
TensorType
== null)
4629
TensorType
.MergeFrom(other.
TensorType
);
4680
subBuilder.MergeFrom(
TensorType
);
OnnxUtils.cs (5)
26
if (typeProto.
TensorType
== null)
29
typeProto.
TensorType
.ElemType = (int)dataType;
35
if (typeProto.
TensorType
.Shape == null)
36
typeProto.
TensorType
.Shape = new TensorShapeProto();
43
typeProto.
TensorType
.Shape.Dim.Add(d);