| 1747 | } |
| 1748 | |
| 1749 | inline Tensor OpMutableInputList::at(int i, bool lock_held) { |
| 1750 | DCHECK_GE(i, 0); |
| 1751 | DCHECK_LT(i, stop_ - start_); |
| 1752 | return ctx_->mutable_input(start_ + i, lock_held); |
| 1753 | } |
| 1754 | |
| 1755 | inline Tensor* OpOutputList::operator[](int i) { |
| 1756 | DCHECK_GE(i, 0); |