| 1674 | } |
| 1675 | |
| 1676 | inline mutex* OpKernelContext::input_ref_mutex(int index) { |
| 1677 | DCHECK_GE(index, 0); |
| 1678 | DCHECK_LT(index, num_inputs()); |
| 1679 | DCHECK(input_is_ref(index)); |
| 1680 | return (*params_->inputs)[index].mutex_if_ref; |
| 1681 | } |
| 1682 | |
| 1683 | inline void OpKernelContext::NotifyUseOfPersistentTensor(const Tensor& t) { |
| 1684 | if (t.IsInitialized()) { |
no outgoing calls
no test coverage detected