Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ size
Method
size
tensorflow/core/framework/tensor.cc:135–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
133
Buffer(Allocator* a, int64 n, const AllocationAttributes& allocation_attr);
134
135
size_t size() const override { return sizeof(T) * elem_; }
136
137
private:
138
T* data_;
Callers
15
TEST
Function · 0.45
MkTensor
Function · 0.45
length
Method · 0.45
PopBatch
Method · 0.45
BatchDeallocate
Method · 0.45
~ThreadLocalBin
Method · 0.45
BatchAllocate
Method · 0.45
Deallocate
Method · 0.45
AllocatedSize
Method · 0.45
Release
Method · 0.45
MaybeInitAccessThread
Method · 0.45
init_data_size_2_block_size
Method · 0.45
Calls
no outgoing calls
Tested by
15
TEST
Function · 0.36
MkTensor
Function · 0.36
ExpectSuccess
Method · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
InferShapes
Method · 0.36
TEST
Function · 0.36
BM_Allocation
Function · 0.36
Decode
Method · 0.36
TEST
Function · 0.36
ExpectEqual
Method · 0.36