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

Method AccessTensor

tensorflow/core/framework/op_kernel.cc:188–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186// PersistentTensor ----------------------------------------------------------
187
188Tensor* PersistentTensor::AccessTensor(OpKernelConstruction* context) {
189 // the caller has to have a valid context
190 CHECK(context);
191 return &tensor_;
192}
193
194Tensor* PersistentTensor::AccessTensor(OpKernelContext* context) {
195 context->NotifyUseOfPersistentTensor(tensor_);

Callers 15

CompileMethod · 0.80
ComputeMethod · 0.80
ExecuteCalibrationMethod · 0.80
allocate_persistentMethod · 0.80
LOCKS_EXCLUDEDMethod · 0.80
SHARED_LOCKS_REQUIREDMethod · 0.80
SHARED_LOCKS_REQUIREDMethod · 0.80
DequeueLockedMethod · 0.80
TryEnqueueManyMethod · 0.80
ComputeMethod · 0.80

Calls 1

Tested by

no test coverage detected