2 writes to ElemType
Microsoft.ML.OnnxTransformer (2)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (2)
4904ElemType = other.ElemType; 4930ElemType = input.ReadInt32();
18 references to ElemType
Microsoft.ML.OnnxTransformer (18)
OnnxTypeParser.cs (8)
85return GetNativeScalarType(typeProto.TensorType.ElemType); 90Type elementType = GetNativeScalarType(typeProto.TensorType.ElemType); 230return GetScalarDataViewType(typeProto.TensorType.ElemType); 236return GetScalarDataViewType(typeProto.TensorType.ElemType); 239return new VectorDataViewType((PrimitiveDataViewType)GetScalarDataViewType(typeProto.TensorType.ElemType), shape.ToArray()); 242return new VectorDataViewType((PrimitiveDataViewType)GetScalarDataViewType(typeProto.TensorType.ElemType), 0); 299var type = GetScalarDataViewType(typeProto.TensorType.ElemType).RawType; 320var type = GetScalarDataViewType(typeProto.TensorType.ElemType).RawType;
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (10)
4833if (ElemType != other.ElemType) return false; 4842if (ElemType != 0) hash ^= ElemType.GetHashCode(); 4860if (ElemType != 0) 4863output.WriteInt32(ElemType); 4880if (ElemType != 0) 4882size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElemType); 4902if (other.ElemType != 0) 4904ElemType = other.ElemType;