Split - version 1#
This page documents version 1 of operator Split. See Split for the latest version (since version 18).
Domain:
ai.onnxSince version: 1
Split a tensor into a list of tensors, along the specified ‘axis’. The lengths of the split can be specified using argument ‘axis’ or optional second input blob to the operator. Otherwise, the tensor is split to equal sized parts.
Inputs
input (T): The tensor to split
split (T): Optional list of output lengths (see also arg ‘split’)
Outputs
Between 1 and ∞ outputs.
outputs… (T): One or more outputs forming list of tensors after splitting
Attributes
axis (int): Which axis to split on
split (int[]): length of each output
Type Constraints
T: Constrain input types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).