Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ RoundUp
Method
RoundUp
tensorflow/core/common_runtime/pool_allocator.h:138–138 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
class NoopRounder : public RoundUpInterface {
137
public:
138
size_t RoundUp(size_t num_bytes) override { return num_bytes; }
139
};
140
141
// Power of 2 rounder: rounds up to nearest power of 2 size.
Callers
2
AllocateRaw
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36