SetScalar
Description
Sets a shape to a scalar.
Prototype
void SetScalar()
Parameters
None
Returns
None
Restrictions
None
Example
Shape shape0({3, 256, 256});
shape0.IsScalar(); // false
shape0.SetScalar();
shape0.IsScalar(); // true
Parent topic: Shape