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