2 writes to Shape
Microsoft.ML.OnnxTransformer (2)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (2)
4910
Shape
= new global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorShapeProto();
4937
Shape
= new global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TensorShapeProto();
13 references to Shape
Microsoft.ML.OnnxTransformer (13)
OnnxTypeParser.cs (5)
83
if (typeProto.TensorType.
Shape
== null || typeProto.TensorType.
Shape
.Dim.Count == 0)
227
if (typeProto.TensorType.
Shape
.Dim.Count == 0)
233
var shape = GetTensorDims(typeProto.TensorType.
Shape
);
292
var shape = GetTensorDims(typeProto.TensorType.
Shape
);
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (8)
4834
if (!object.Equals(
Shape
, other.
Shape
)) return false;
4843
if (shape_ != null) hash ^=
Shape
.GetHashCode();
4868
output.WriteMessage(
Shape
);
4886
size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Shape
);
4912
Shape
.MergeFrom(other.
Shape
);
4939
input.ReadMessage(
Shape
);