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

Method GetAllocatedBytes

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

Source from the content-addressed store, hash-verified

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 }
896 void FillAllocationDescription(AllocationDescription* proto) const override {
897 root_->FillAllocationDescription(proto);
898 }

Callers

nothing calls this directly

Calls 1

GetAllocatedBytesMethod · 0.45

Tested by

no test coverage detected