| 77 | size_t size() const { return indices_.size(); } |
| 78 | void push_back(int64 value) { indices_.push_back(value); } |
| 79 | void pop_back() { indices_.pop_back(); } |
| 80 | |
| 81 | // push_front is O(n), but shapes don't usually have a ton of dimensions. |
| 82 | void push_front(int64 value) { indices_.insert(indices_.begin(), value); } |
no outgoing calls