| 297 | } |
| 298 | |
| 299 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index |
| 300 | ToInputIndex(const Coords& coords) const { |
| 301 | Index input_index = 0; |
| 302 | for (int dim = 0; dim < Dims; ++dim) { |
| 303 | input_index += ToInputCoord(coords[dim], dim) * input_strides_[dim]; |
| 304 | } |
| 305 | return input_index; |
| 306 | } |
| 307 | |
| 308 | EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index ToInputIndex(Index index) const { |
| 309 | Index input_index = 0; |
no test coverage detected