-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
Narrative ContentNarrative documentation content.Narrative documentation content.
Milestone
Description
Documentation mentions in several places zero-dimensional tensors, but it's not clear to me if those are required to be supported.
While it sounds very reasonable to assume that e.g. xp.sum(x) returns scalar, some of frameworks don't provide support for zero-dimensional arrays, and fake it with 1-element 1-dimensional arrays. Examples:
- mxnet fails on creation
mx.nd.zeros([])
I know API will be reworked in mxnet 2, but did not check actual support there - paddle also lacks zero-dim arrays, it does not seem to be in any priority
Metadata
Metadata
Assignees
Labels
Narrative ContentNarrative documentation content.Narrative documentation content.