Skip to content

Split op cannot work well with opset 18. #2132

@fatcat-z

Description

@fatcat-z

The definition of Split op in opset version 18 is below:

Split a tensor into a list of tensors, along the specified 'axis'. Either input 'split' or the attribute 'num_outputs' should be specified, but not both. If the attribute 'num_outputs' is specified, then the tensor is split into equal sized parts. If the tensor is not evenly splittable into num_outputs, the last chunk will be smaller. If the input 'split' is specified, it indicates the sizes of each output in the split.

We need to update this op to check the new attribute num_outputs to support opset 18.

Metadata

Metadata

Assignees

Labels

bugAn unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions