isScalar property
bool
isScalar
Tells whether the tensor is a scalar.
Implementation
bool get isScalar => tensorShape == TensorShape.scalar;
Tells whether the tensor is a scalar.
bool get isScalar => tensorShape == TensorShape.scalar;