3 writes to DimValue
Microsoft.ML.OnnxTransformer (3)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (3)
4064
DimValue
= other.DimValue;
4257
DimValue
= other.DimValue;
4280
DimValue
= input.ReadInt64();
11 references to DimValue
Microsoft.ML.OnnxTransformer (11)
OnnxTypeParser.cs (4)
173
if (dim.
DimValue
> int.MaxValue)
174
throw Contracts.ExceptParamValue(dim.
DimValue
, nameof(dim), $"Dimension {dim} in ONNX tensor cannot exceed the maximum of 32-bit signed integer.");
176
value = dim.
DimValue
> 0 ? (int)dim.
DimValue
: 0;
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (7)
4064
DimValue = other.
DimValue
;
4168
if (
DimValue
!= other.
DimValue
) return false;
4179
if (valueCase_ == ValueOneofCase.DimValue) hash ^=
DimValue
.GetHashCode();
4202
output.WriteInt64(
DimValue
);
4226
size += 1 + pb::CodedOutputStream.ComputeInt64Size(
DimValue
);
4257
DimValue = other.
DimValue
;