14 writes to DataType
Microsoft.ML.OnnxConverter (14)
OnnxMl.cs (2)
3214DataType = other.DataType; 3269DataType = input.ReadInt32();
OnnxUtils.cs (12)
394tensor.DataType = (int)TensorProto.Types.DataType.Int64; 404tensor.DataType = (int)TensorProto.Types.DataType.Int64; 418tensor.DataType = (int)ConvertToTensorProtoType(type); 428tensor.DataType = (int)ConvertToTensorProtoType(type); 442tensor.DataType = (int)ConvertToTensorProtoType(isUint64 ? typeof(ulong) : typeof(uint)); 452tensor.DataType = (int)ConvertToTensorProtoType(isUint64 ? typeof(ulong) : typeof(uint)); 466tensor.DataType = (int)TensorProto.Types.DataType.Double; 476tensor.DataType = (int)TensorProto.Types.DataType.Double; 490tensor.DataType = (int)TensorProto.Types.DataType.Float; 500tensor.DataType = (int)TensorProto.Types.DataType.Float; 514tensor.DataType = (int)TensorProto.Types.DataType.String; 524tensor.DataType = (int)TensorProto.Types.DataType.String;
10 references to DataType
Microsoft.ML.OnnxConverter (10)
OnnxMl.cs (10)
3067if (DataType != other.DataType) return false; 3088if (DataType != 0) hash ^= DataType.GetHashCode(); 3118if (DataType != 0) 3121output.WriteInt32(DataType); 3166if (DataType != 0) 3168size += 1 + pb::CodedOutputStream.ComputeInt32Size(DataType); 3212if (other.DataType != 0) 3214DataType = other.DataType;