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

Method root_buffer

tensorflow/core/framework/tensor.cc:892–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

890
891 size_t size() const override { return sizeof(T) * elem_; }
892 TensorBuffer* root_buffer() override { return root_; }
893 bool GetAllocatedBytes(size_t* out_bytes) const override {
894 return root_->GetAllocatedBytes(out_bytes);
895 }

Callers 5

RefCountIsOneMethod · 0.45
SubBufferMethod · 0.45
SharesBufferWithMethod · 0.45
SharesBufferWithMethod · 0.45
TensorReferenceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected