| 1771 | } |
| 1772 | |
| 1773 | inline Status OpOutputList::allocate(int i, const TensorShape& shape, |
| 1774 | Tensor** output) { |
| 1775 | DCHECK_GE(i, 0); |
| 1776 | DCHECK_LT(i, stop_ - start_); |
| 1777 | return ctx_->allocate_output(start_ + i, shape, output); |
| 1778 | } |
| 1779 | |
| 1780 | inline void OpOutputList::set(int i, const Tensor& tensor) { |
| 1781 | DCHECK_GE(i, 0); |
no test coverage detected