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

Method TensorReference

tensorflow/core/framework/tensor_reference.cc:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace tensorflow {
19
20TensorReference::TensorReference(const Tensor& tensor)
21 : buf_(tensor.buf_ ? tensor.buf_->root_buffer() : nullptr) {
22 if (buf_) buf_->Ref();
23}
24
25} // namespace tensorflow

Callers

nothing calls this directly

Calls 2

root_bufferMethod · 0.45
RefMethod · 0.45

Tested by

no test coverage detected