You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Create a <see cref="OnnxScoringEstimator"/>, which applies a pre-trained Onnx model to the input column.
46
+
/// Input/output columns are determined based on the input/output columns of the provided ONNX model.
47
+
/// Please refer to <see cref="OnnxScoringEstimator"/> to learn more about the necessary dependencies,
48
+
/// and how to run it on a GPU.
49
+
/// </summary>
50
+
/// <remarks>
51
+
/// The name/type of input columns must exactly match name/type of the ONNX model inputs.
52
+
/// The name/type of the produced output columns will match name/type of the ONNX model outputs.
53
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// Create a <see cref="OnnxScoringEstimator"/>, which applies a pre-trained Onnx model to the input column.
110
+
/// Input/output columns are determined based on the input/output columns of the provided ONNX model.
111
+
/// Please refer to <see cref="OnnxScoringEstimator"/> to learn more about the necessary dependencies,
112
+
/// and how to run it on a GPU.
113
+
/// </summary>
114
+
/// <remarks>
115
+
/// The name/type of input columns must exactly match name/type of the ONNX model inputs.
116
+
/// The name/type of the produced output columns will match name/type of the ONNX model outputs.
117
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// <param name="modelBytes">The <see cref="System.IO.Stream"/> containing the model bytes.</param>
185
+
/// <param name="gpuDeviceId">Optional GPU device ID to run execution on, <see langword="null" /> to run on CPU.</param>
186
+
/// <param name="fallbackToCpu">If GPU error, raise exception or fallback to CPU.</param>
187
+
/// <remarks>
188
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// <param name="modelBytes">The <see cref="System.IO.Stream"/> containing the model bytes.</param>
272
+
/// <param name="shapeDictionary">ONNX shapes to be used over those loaded from <paramref name="modelBytes"/>.
273
+
/// For keys use names as stated in the ONNX model, e.g. "input". Stating the shapes with this parameter
274
+
/// is particularly useful for working with variable dimension inputs and outputs.
275
+
/// </param>
276
+
/// <param name="gpuDeviceId">Optional GPU device ID to run execution on, <see langword="null" /> to run on CPU.</param>
277
+
/// <param name="fallbackToCpu">If GPU error, raise exception or fallback to CPU.</param>
278
+
/// <remarks>
279
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// <param name="modelBytes">The <see cref="System.IO.Stream"/> containing the model bytes.</param>
335
+
/// <param name="gpuDeviceId">Optional GPU device ID to run execution on, <see langword="null" /> to run on CPU.</param>
336
+
/// <param name="fallbackToCpu">If GPU error, raise exception or fallback to CPU.</param>
337
+
/// <remarks>
338
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// <param name="modelBytes">The <see cref="System.IO.Stream"/> containing the model bytes.</param>
390
+
/// <param name="shapeDictionary">ONNX shapes to be used over those loaded from <paramref name="modelBytes"/>.
391
+
/// For keys use names as stated in the ONNX model, e.g. "input". Stating the shapes with this parameter
392
+
/// is particularly useful for working with variable dimension inputs and outputs.
393
+
/// </param>
394
+
/// <param name="gpuDeviceId">Optional GPU device ID to run execution on, <see langword="null" /> to run on CPU.</param>
395
+
/// <param name="fallbackToCpu">If GPU error, raise exception or fallback to CPU.</param>
396
+
/// <remarks>
397
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
/// <param name="modelBytes">The <see cref="System.IO.Stream"/> containing the model bytes.</param>
452
+
/// <param name="shapeDictionary">ONNX shapes to be used over those loaded from <paramref name="modelBytes"/>.
453
+
/// For keys use names as stated in the ONNX model, e.g. "input". Stating the shapes with this parameter
454
+
/// is particularly useful for working with variable dimension inputs and outputs.
455
+
/// </param>
456
+
/// <param name="gpuDeviceId">Optional GPU device ID to run execution on, <see langword="null" /> to run on CPU.</param>
457
+
/// <param name="fallbackToCpu">If GPU error, raise exception or fallback to CPU.</param>
458
+
/// <param name="recursionLimit">Optional, specifies the Protobuf CodedInputStream recursion limit. Default value is 100.</param>
459
+
/// <remarks>
460
+
/// If the gpuDeviceId value is <see langword="null" /> the <see cref="P:MLContext.GpuDeviceId"/> value will be used if it is not <see langword="null" />.
0 commit comments