| 246 | } |
| 247 | |
| 248 | value_type value(int64_t index) const |
| 249 | { |
| 250 | if (!needs_resize_) { |
| 251 | return a_.value<value_type>(index); |
| 252 | } |
| 253 | auto resizer = data_resizer<I>(shape_, a_.shape(), slices_); |
| 254 | return a_.value<value_type>(resizer.compute_index(index)); |
| 255 | } |
| 256 | |
| 257 | nd::array get(int64_t index) const |
| 258 | { |
nothing calls this directly
no test coverage detected