ScalarShape returns a Shape representing a scalar.
()
| 32 | |
| 33 | // ScalarShape returns a Shape representing a scalar. |
| 34 | func ScalarShape() Shape { |
| 35 | return Shape{dims: make([]int64, 0)} |
| 36 | } |
| 37 | |
| 38 | // MakeShape returns a Shape with the provided size of each dimension. |
| 39 | // |