Returns index in `indices` as is or replace with tensor's index.
(list_of_index_or_t, ts)
| 45 | |
| 46 | |
| 47 | def _finalize_indices(list_of_index_or_t, ts): |
| 48 | """Returns index in `indices` as is or replace with tensor's index.""" |
| 49 | return [_finalize_index(index_or_t, ts) for index_or_t in list_of_index_or_t] |
| 50 | |
| 51 | |
| 52 | def _check_within_range(mapping, n, repetition): |
no test coverage detected