module onnxrt.ops_cpu.op_atan
#
Short summary#
module mlprodict.onnxrt.ops_cpu.op_atan
Runtime operator.
Classes#
class |
truncated documentation |
---|---|
Atan ==== Calculates the arctangent (inverse of tangent) of the given 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_atan.Atan(onnx_node, desc=None, **options)#
Bases:
mlprodict.onnxrt.ops_cpu._op.OpRunUnaryNum
Calculates the arctangent (inverse of tangent) of the given input tensor, element-wise.
Inputs
input (heterogeneous)T: Input tensor
Outputs
output (heterogeneous)T: The arctangent of the input tensor computed element-wise
Type Constraints
T tensor(float16), tensor(float), tensor(double): Constrain input and output types to float tensors.
Version
Onnx name: Atan
This version of the operator has been available since version 7.
Runtime implementation:
Atan
- 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
- _run(x)#
Should be overwritten.
- _run_inplace(x)#
- to_python(inputs)#
Returns a python code equivalent to this operator.
- Parameters
inputs – inputs name
- Returns
imports, python code, both as strings