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

Method input_ref

tensorflow/core/framework/op_kernel.h:1669–1674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667}
1668
1669inline Tensor* OpKernelContext::input_ref(int index) {
1670 DCHECK_GE(index, 0);
1671 DCHECK_LT(index, num_inputs());
1672 DCHECK(input_is_ref(index));
1673 return (*params_->inputs)[index].tensor;
1674}
1675
1676inline mutex* OpKernelContext::input_ref_mutex(int index) {
1677 DCHECK_GE(index, 0);

Callers 1

ComputeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected