Loading

HULLSHAPE

lists tensors

Return the shape of a tensor (or multidimensional array) that would be able to contain all the values of an input nested list. The size of the returned shape is equal to the deepest level of nesting plus one. Its i-th value is equal to the size of the largest list that is nested i levels deep.

HULLSHAPE is available since version 2.1.0.

See also

Signatures