7 references to ExceptParamValue
Microsoft.ML.Core (1)
Utilities\Contracts.cs (1)
547
throw
ExceptParamValue
(value, paramName, msg);
Microsoft.ML.OnnxTransformer (6)
OnnxTypeParser.cs (3)
174
throw Contracts.
ExceptParamValue
(dim.DimValue, nameof(dim), $"Dimension {dim} in ONNX tensor cannot exceed the maximum of 32-bit signed integer.");
258
throw Contracts.
ExceptParamValue
(typeProto, nameof(typeProto), $"Unsupported ONNX variable type {typeProto}");
382
throw Contracts.
ExceptParamValue
(typeProto, nameof(typeProto), $"Unsupported ONNX variable type {typeProto}");
OnnxUtils.cs (3)
84
throw Contracts.
ExceptParamValue
(name, nameof(name), $"Input tensor, {name}, does not exist in the ONNX model. " +
95
throw Contracts.
ExceptParamValue
(name, nameof(name), $"Ouput tensor, {name}, does not exist in the ONNX model. " +
318
throw Contracts.
ExceptParamValue
(shapeDictionary[name], nameof(shapeDictionary),