| 1695 | } |
| 1696 | |
| 1697 | inline TensorValue OpKernelContext::release_output(int index) { |
| 1698 | DCHECK_GE(index, 0); |
| 1699 | DCHECK_LT(index, num_outputs()); |
| 1700 | TensorValue value = outputs_[index]; |
| 1701 | outputs_[index] = TensorValue(); |
| 1702 | return value; |
| 1703 | } |
| 1704 | |
| 1705 | inline Status OpKernelContext::forward_input_or_allocate_output( |
| 1706 | gtl::ArraySlice<int> candidate_input_indices, int output_index, |