Contents

shape

A tuple of unsigned-integer elements that specify the size of the tensor.

Declaration

var shape: (Int, Int, Int, Int, Int, Int, Int, Int)

Discussion

The first rank elements specify the size of each dimension.

See Also

Specifying a tensor’s properties