Contents

isScalar

A Boolean value indicating whether the tensor is a scalar (when the rank is equal to 0) or not.

Declaration

var isScalar: Bool { get }

See Also

Accessing tensor properties