| 281 | } |
| 282 | |
| 283 | static inline ShapeArray TensorShapeToVector(const TensorShape& shape) { |
| 284 | ShapeArray vec(shape.dims()); |
| 285 | for (int i = 0; i < shape.dims(); ++i) vec[i] = shape.dim_size(i); |
| 286 | return vec; |
| 287 | } |
| 288 | |
| 289 | // Helper for IndicesValid() |
| 290 | inline Status IndexValid(const TTypes<int64>::ConstMatrix& ix_t, |
no test coverage detected