module onnxrt.ops_cpu.op_sequence_construct#

Inheritance diagram of mlprodict.onnxrt.ops_cpu.op_sequence_construct

Short summary#

module mlprodict.onnxrt.ops_cpu.op_sequence_construct

Runtime operator.

Classes#

class

truncated documentation

SequenceConstruct

SequenceConstruct ================= Construct a tensor sequence containing ‘inputs’ tensors. All tensors in ‘inputs’ must …

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__

_run

Documentation#

Runtime operator.

New in version 0.7.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_sequence_construct.SequenceConstruct(onnx_node, desc=None, **options)#

Bases: OpRun


Construct a tensor sequence containing ‘inputs’ tensors. All tensors in ‘inputs’ must have the same data type.

Inputs

Between 1 and 2147483647 inputs.

  • inputs (variadic, heterogeneous)T: Tensors.

Outputs

  • output_sequence (heterogeneous)S: Sequence enclosing the input tensors.

Type Constraints

  • T tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double), tensor(string), tensor(bool), tensor(complex64), tensor(complex128): Constrain input types to any tensor type.

  • S seq(tensor(uint8)), seq(tensor(uint16)), seq(tensor(uint32)), seq(tensor(uint64)), seq(tensor(int8)), seq(tensor(int16)), seq(tensor(int32)), seq(tensor(int64)), seq(tensor(float16)), seq(tensor(float)), seq(tensor(double)), seq(tensor(string)), seq(tensor(bool)), seq(tensor(complex64)), seq(tensor(complex128)): Constrain output types to any tensor type.

Version

Onnx name: SequenceConstruct

This version of the operator has been available since version 11.

Runtime implementation: SequenceConstruct

__init__(onnx_node, desc=None, **options)#
_run(*data, attributes=None, verbose=0, fLOG=None)#

Should be overwritten.

source on GitHub