module onnxrt.ops_cpu._op_helper#

Short summary#

module mlprodict.onnxrt.ops_cpu._op_helper

Runtime operator.

source on GitHub

Functions#

function

truncated documentation

_get_typed_class_attribute

Converts an attribute into a C++ value.

dtype_name

Returns the name of a numpy dtype.

proto2dtype

Converts a proto type into a numpy type.

Documentation#

Runtime operator.

source on GitHub

mlprodict.onnxrt.ops_cpu._op_helper._get_typed_class_attribute(self, k, atts)#

Converts an attribute into a C++ value.

source on GitHub

mlprodict.onnxrt.ops_cpu._op_helper.dtype_name(dtype)#

Returns the name of a numpy dtype.

source on GitHub

mlprodict.onnxrt.ops_cpu._op_helper.proto2dtype(proto_type)#

Converts a proto type into a numpy type.

Parameters:

proto_type – example onnx.TensorProto.FLOAT

Returns:

numpy dtype

source on GitHub