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

Method retrieve_accessed_tensors

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

Source from the content-addressed store, hash-verified

1652}
1653
1654inline void OpKernelContext::retrieve_accessed_tensors(
1655 TensorReferenceVector* out_vector) {
1656 if (params_->record_tensor_accesses) {
1657 mutex_lock l(mu_);
1658 referenced_tensors_->FreezeAndReturnReferences(out_vector);
1659 }
1660}
1661
1662// no input if tensor == nullptr.
1663inline bool OpKernelContext::has_input(int index) const {

Callers 1

TEST_FFunction · 0.80

Calls 1

Tested by 1

TEST_FFunction · 0.64