| 654 | // StatusOr<bool>(absl::Span<int64>) or compatible. |
| 655 | template <typename FnType> |
| 656 | static Status ForEachIndexWithStatus(const Shape& shape, |
| 657 | absl::Span<const int64> base, |
| 658 | absl::Span<const int64> count, |
| 659 | absl::Span<const int64> incr, |
| 660 | const FnType& visitor_function) { |
| 661 | return ForEachIndexInternal(shape, base, count, incr, visitor_function); |
| 662 | } |
| 663 | |
| 664 | // Simple ergonomic wrapper around ShapeUtil::ForEachIndexWithStatus. |
| 665 | struct IndexIterationSpace { |
nothing calls this directly
no test coverage detected