| 2989 | } |
| 2990 | |
| 2991 | XlaOp Slice(const XlaOp operand, absl::Span<const int64> start_indices, |
| 2992 | absl::Span<const int64> limit_indices, |
| 2993 | absl::Span<const int64> strides) { |
| 2994 | return operand.builder()->Slice(operand, start_indices, limit_indices, |
| 2995 | strides); |
| 2996 | } |
| 2997 | |
| 2998 | XlaOp SliceInDim(const XlaOp operand, int64 start_index, int64 limit_index, |
| 2999 | int64 stride, int64 dimno) { |