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

Method is_ref

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

Source from the content-addressed store, hash-verified

541 TensorValue(mutex* mu, Tensor* t) : mutex_if_ref(mu), tensor(t) {}
542 Tensor* operator->() const { return tensor; }
543 bool is_ref() const { return mutex_if_ref != nullptr; }
544
545 // Return the dtype of the Tensor. For references, return the underlying type.
546 DataType dtype() const {

Callers 15

__init__Method · 0.80
ArgTypeNameFunction · 0.80
CompileMethod · 0.80
input_is_refMethod · 0.80
~OpKernelContextMethod · 0.80
forward_inputMethod · 0.80
FinalizeInputOrOutputFunction · 0.80
MaybeAddRefMethod · 0.80
SummarizeArgsFunction · 0.80
ComputeArgSignatureFunction · 0.80
VerifyInputRefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected