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

Method NotifyUseOfPersistentTensor

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

Source from the content-addressed store, hash-verified

1681}
1682
1683inline void OpKernelContext::NotifyUseOfPersistentTensor(const Tensor& t) {
1684 if (t.IsInitialized()) {
1685 record_tensor_reference(t);
1686 }
1687}
1688
1689inline Tensor* OpKernelContext::mutable_output(int index) {
1690 DCHECK_GE(index, 0);

Callers 1

AccessTensorMethod · 0.80

Calls 1

IsInitializedMethod · 0.45

Tested by

no test coverage detected