module onnxrt.ops_cpu.op_cdist#

Inheritance diagram of mlprodict.onnxrt.ops_cpu.op_cdist

Short summary#

module mlprodict.onnxrt.ops_cpu.op_cdist

Runtime operator.

source on GitHub

Classes#

class

truncated documentation

CDist

CDist (mlprodict) ================= Version Onnx name: CDist

CDistSchema

Defines a schema for operators added in this package such as TreeEnsembleClassifierDouble.

Properties#

property

truncated documentation

args_default

Returns the list of arguments as well as the list of parameters with the default values (close to the signature). …

args_default_modified

Returns the list of modified parameters.

args_mandatory

Returns the list of optional arguments.

args_optional

Returns the list of optional arguments.

atts_value

Returns all parameters in a dictionary.

Methods#

method

truncated documentation

__init__

__init__

_find_custom_operator_schema

_infer_shapes

Returns the same for the labels and the probabilities.

_run

to_python

Documentation#

Runtime operator.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_cdist.CDist(mlprodict)#

Bases: mlprodict.onnxrt.ops_cpu._op.OpRunBinaryNum

Version

Onnx name: CDist

This version of the operator has been available since version of domain mlprodict.

Runtime implementation: CDist

Parameters
  • onnx_nodeonnx node

  • desc – internal representation

  • expected_attributes – expected attributes for this node

  • options – runtime options

source on GitHub

__init__(onnx_node, desc=None, **options)#
Parameters
  • onnx_nodeonnx node

  • desc – internal representation

  • expected_attributes – expected attributes for this node

  • options – runtime options

source on GitHub

_find_custom_operator_schema(op_name)#
_infer_shapes(a, b)#

Returns the same for the labels and the probabilities.

source on GitHub

_run(a, b)#

Should be overwritten.

source on GitHub

to_python(inputs)#

Returns a python code equivalent to this operator.

Parameters

inputs – inputs name

Returns

imports, python code, both as strings

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_cdist.CDistSchema#

Bases: mlprodict.onnxrt.ops_cpu._new_ops.OperatorSchema

Defines a schema for operators added in this package such as TreeEnsembleClassifierDouble.

source on GitHub

__init__()#