Skip to content

Add an unstack operation? #27

@marcelluethi

Description

@marcelluethi

Dimwit supports stacking of operations using val tensor = stack(Axis[NewAxis])(tensorSeq). Sometimes the revers is useful, namely to take a tensors apart (unstack) along a given dimension. It would be something like: val tensorSeq : Seq[Tensor[T]] = unstack(Axis[UnstackAxis])(tensors).

Currently, this can be achieved using the slice operation, which, however, obfuscates the meaning.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions