| 61 | }; |
| 62 | |
| 63 | int64_t product(const std::vector<int64_t> & shape) { |
| 64 | return std::accumulate(shape.begin(), shape.end(), int64_t{1}, std::multiplies<int64_t>{}); |
| 65 | } |
| 66 | |
| 67 | core::TensorShape tensor_shape_from_vector(const std::vector<int64_t> & shape) { |
| 68 | if (shape.empty()) { |
no test coverage detected