MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / input_ref_mutex

Method input_ref_mutex

tensorflow/core/framework/op_kernel.h:1676–1681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1674}
1675
1676inline 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
1683inline void OpKernelContext::NotifyUseOfPersistentTensor(const Tensor& t) {
1684 if (t.IsInitialized()) {

Callers 14

ComputeMethod · 0.60
ComputeMethod · 0.60
ref_mutexMethod · 0.60
GetResourceFromContextFunction · 0.60
GetTrainingVariableMutexFunction · 0.60
ComputeMethod · 0.60
ComputeMethod · 0.60
ComputeMethod · 0.60
ComputeMethod · 0.60
ComputeMethod · 0.60
ComputeMethod · 0.60

Calls

no outgoing calls

Tested by

no test coverage detected