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

Method RefCountIsOne

tensorflow/core/kernels/list_kernels.h:159–159  ·  view source on GitHub ↗

Is this TensorList the only one with a reference to the underlying container?

Source from the content-addressed store, hash-verified

157 // Is this TensorList the only one with a reference to the underlying
158 // container?
159 bool RefCountIsOne() const { return tensors_->RefCountIsOne(); }
160
161 private:
162 class Tensors : public core::RefCounted {

Callers 7

PrepareToUpdateVariableFunction · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected