module onnxrt.ops_cpu.op_isnan
#
Short summary#
module mlprodict.onnxrt.ops_cpu.op_isnan
Runtime operator.
Classes#
class |
truncated documentation |
---|---|
IsNaN ===== Returns which elements of the input are NaN. 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_isnan.IsNaN(onnx_node, desc=None, **options)#
Bases:
OpRunUnary
Returns which elements of the input are NaN.
Inputs
X (heterogeneous)T1: input
Outputs
Y (heterogeneous)T2: output
Type Constraints
T1 tensor(float16), tensor(float), tensor(double), tensor(bfloat16): Constrain input types to float tensors.
T2 tensor(bool): Constrain output types to boolean tensors.
Version
Onnx name: IsNaN
This version of the operator has been available since version 13.
Runtime implementation:
IsNaN
- __init__(onnx_node, desc=None, **options)#
- _run(data, 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