-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.
Description
This is a complement to https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/flatten-shape and is similar to https://docs.pytorch.org/docs/stable/generated/torch.unflatten.html, but only operates on shapes.
API signature:
function unflattenShape( shape, dim, sizes )The implementation should validate that the product of sizes equals the size of shape[dim].
Metadata
Metadata
Assignees
Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.