* @brief Request the sample by the given index. * @param index Index of the sample. * @param options Fetch options. * @return Promise with the sample. */
| 123 | * @return Promise with the sample. |
| 124 | */ |
| 125 | async::promise<nd::array> request_sample(int64_t index, storage::fetch_options options) |
| 126 | { |
| 127 | index = icm::parse_negative_index(index, samples_count()); |
| 128 | return request_sample_(index, options); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * @brief Request the sample by the given source shape. |
no test coverage detected