module onnxrt.ops_cpu.op_not
#
Short summary#
module mlprodict.onnxrt.ops_cpu.op_not
Runtime operator.
Classes#
class |
truncated documentation |
---|---|
Not === Returns the negation of the input tensor element-wise. Inputs |
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 |
---|---|
Documentation#
Runtime operator.
- class mlprodict.onnxrt.ops_cpu.op_not.Not(onnx_node, desc=None, **options)#
Bases:
OpRunUnary
===
Returns the negation of the input tensor element-wise.
Inputs
X (heterogeneous)T: Input tensor
Outputs
Y (heterogeneous)T: Output tensor
Type Constraints
T tensor(bool): Constrain input/output to boolean tensors.
Version
Onnx name: Not
This version of the operator has been available since version 1.
Runtime implementation:
Not
- __init__(onnx_node, desc=None, **options)#
- _run(x, attributes=None, verbose=0, fLOG=None)#
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