* @brief Return a span containing the shape of `sample` */
| 598 | * @brief Return a span containing the shape of `sample` |
| 599 | */ |
| 600 | span<int64_t, sample_ndim == DynamicDimensions ? |
| 601 | dynamic_extent : span_extent_t(sample_ndim)> |
| 602 | tensor_shape_span(int64_t sample) { |
| 603 | return {&shapes[sample * sample_dim()], span_extent_t(sample_dim())}; |
| 604 | } |
| 605 | |
| 606 | span<const int64_t, sample_ndim == DynamicDimensions ? |
| 607 | dynamic_extent : span_extent_t(sample_ndim)> |
no test coverage detected