lists tensors

The RESHAPE function modifies the shape of a list.

The new shape is specified using a list of dimensions, the first being the outer dimension. Such a shape can be produced by SHAPE.

Note that the number of elements in the array must be compatible with the requested shape, i.e. the product of the dimensions must match the number of elements in the input list.

RESHAPE is available since version 2.1.0.

See also



[ 'a' 'b' 'c' ] [ 1 1 3 ] RESHAPE [ [ 'd' 'e' ] [ 'f' 'g' ] ] [ 1 4 1 ] RESHAPE