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