module onnxrt.ops_cpu.op_svm_regressor_#

Short summary#

module mlprodict.onnxrt.ops_cpu.op_svm_regressor_

Implements runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc in onnxruntime.

source on GitHub

Classes#

class

truncated documentation

RuntimeSVMRegressorDouble

Implements Double runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc

RuntimeSVMRegressorFloat

Implements float runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc

Documentation#

Implements runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc in onnxruntime.

class mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble, arg0: int)#

Bases: pybind11_object

Implements Double runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc in onnxruntime.

Parameters:

omp_N – number of observations above which it gets parallelized.

__init__(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble, arg0: int) None#
compute(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble, arg0: numpy.ndarray[numpy.float64]) numpy.ndarray[numpy.float64]#

Computes the predictions for the SVM regressor.

init(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble, arg0: numpy.ndarray[numpy.float64], arg1: numpy.ndarray[numpy.float64], arg2: str, arg3: int, arg4: int, arg5: str, arg6: numpy.ndarray[numpy.float64], arg7: numpy.ndarray[numpy.float64]) None#

Initializes the runtime with the ONNX attributes in alphabetical order.

omp_get_max_threads(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble) int#

Returns omp_get_max_threads from openmp library.

runtime_options(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorDouble) str#

Returns indications about how the runtime was compiled.

class mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat, arg0: int)#

Bases: pybind11_object

Implements float runtime for operator SVMRegressor. The code is inspired from svm_regressor.cc in onnxruntime.

Parameters:

omp_N – number of observations above which it gets parallelized.

__init__(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat, arg0: int) None#
compute(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat, arg0: numpy.ndarray[numpy.float32]) numpy.ndarray[numpy.float32]#

Computes the predictions for the SVM regressor.

init(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat, arg0: numpy.ndarray[numpy.float32], arg1: numpy.ndarray[numpy.float32], arg2: str, arg3: int, arg4: int, arg5: str, arg6: numpy.ndarray[numpy.float32], arg7: numpy.ndarray[numpy.float32]) None#

Initializes the runtime with the ONNX attributes in alphabetical order.

omp_get_max_threads(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat) int#

Returns omp_get_max_threads from openmp library.

runtime_options(self: mlprodict.onnxrt.ops_cpu.op_svm_regressor_.RuntimeSVMRegressorFloat) str#

Returns indications about how the runtime was compiled.