| 272 | } |
| 273 | |
| 274 | static int UnsafeGetDimsFromIx(const Tensor& ix) { |
| 275 | DCHECK(TensorShapeUtils::IsMatrix(ix.shape())); |
| 276 | return ix.dim_size(1); |
| 277 | } |
| 278 | |
| 279 | static inline ShapeArray UndefinedOrder(const VarDimArray shape) { |
| 280 | return ShapeArray(shape.size(), -1); |
no test coverage detected