module onnxrt.ops_cpu.op_cdist
#
Short summary#
module mlprodict.onnxrt.ops_cpu.op_cdist
Runtime operator.
Classes#
class |
truncated documentation |
---|---|
CDist (mlprodict) ================= Version Onnx name: CDist … |
|
Defines a schema for operators added in this package such as |
Properties#
property |
truncated documentation |
---|---|
|
Returns the list of arguments as well as the list of parameters with the default values (close to the signature). … |
|
Returns the list of modified parameters. |
|
Returns the list of optional arguments. |
|
Returns the list of optional arguments. |
|
Returns all parameters in a dictionary. |
Methods#
method |
truncated documentation |
---|---|
Returns the same for the labels and the probabilities. |
|
Documentation#
Runtime operator.
- 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_node – onnx node
desc – internal representation
expected_attributes – expected attributes for this node
options – runtime options
- __init__(onnx_node, desc=None, **options)#
- Parameters
onnx_node – onnx node
desc – internal representation
expected_attributes – expected attributes for this node
options – runtime options
- _find_custom_operator_schema(op_name)#
- _infer_shapes(a, b)#
Returns the same for the labels and the probabilities.
- _run(a, b)#
Should be overwritten.
- to_python(inputs)#
Returns a python code equivalent to this operator.
- Parameters
inputs – inputs name
- Returns
imports, python code, both as strings
- 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
.- __init__()#