设置shape为标量。
1
void SetScalar()
无。
1 2 3 4
Shape shape0({3, 256, 256}); shape0.IsScalar(); // false shape0.SetScalar(); shape0.IsScalar(); // true