| 2601 | // Copy the `src_index` bit of `src` to `dst_index` bit of `dst`. |
| 2602 | template <class T> |
| 2603 | constexpr void CopyBit(const T &src, unsigned src_index, T &dst, |
| 2604 | unsigned dst_index) { |
| 2605 | if (IsSet(src, src_index)) |
| 2606 | Set(dst, dst_index); |
| 2607 | else |
| 2608 | Unset(dst, dst_index); |
| 2609 | } |
| 2610 | |
| 2611 | // The sparse spec of strided slice does not correspond to the number of |
| 2612 | // dimensions. For example, sparse spec for foo[..., 3:10] for foo of shape (2, |
no test coverage detected