SequenceEmpty#
Domain:
ai.onnxSince version: 11
Construct an empty tensor sequence, with given data type.
Outputs
output (S): Empty sequence.
Attributes
dtype (int): (Optional) The data type of the tensors in the output sequence. The default type is ‘float’.
Type Constraints
S: Constrain output types to any tensor type. Allowed types: seq(tensor(bool)), seq(tensor(complex128)), seq(tensor(complex64)), seq(tensor(double)), seq(tensor(float)), seq(tensor(float16)), seq(tensor(int16)), seq(tensor(int32)), seq(tensor(int64)), seq(tensor(int8)), seq(tensor(string)), seq(tensor(uint16)), seq(tensor(uint32)), seq(tensor(uint64)), seq(tensor(uint8)).
Examples#
test_cc_sequence_empty_default
Node:
SequenceEmpty() -> (empty_seq)
Inputs:
Outputs:
empty_seq: shape=(), dtype=int64
0
test_cc_sequence_empty_int64
Node:
SequenceEmpty() -> (empty_seq)
Attributes:
dtype = 7
Inputs:
Outputs:
empty_seq: shape=(), dtype=int64
0