* @brief Return empty shape of specified dimensionality */
| 326 | * @brief Return empty shape of specified dimensionality |
| 327 | */ |
| 328 | static TensorShape empty_shape(int dim = ndim) { |
| 329 | assert(dim > 0 && "0D always has exectly 1 element"); |
| 330 | return filled_shape(dim, 0); |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * @brief Return shape of specified dimensionality filled with value |
no test coverage detected