| 70 | |
| 71 | template <typename ContainerType, typename IteratorType, typename ValueType> |
| 72 | class ShapeTreeIterator; |
| 73 | |
| 74 | // A ShapeTree<T> is a recursive data structure which mirrors the structure of a |
| 75 | // XLA shape and holds a value of type T for each subshape (i.e. tuple or array) |