Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ Allocation
Class
Allocation
util/activation_memory_profiler.py:24–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
23
@dataclass
24
class
Allocation:
25
name: str
26
op_name: str
27
memory_id: int
28
memory_offset: int
29
size_bytes: int
30
fqn: str
31
file_and_line_num: str
32
33
34
@dataclass
Callers
1
create_tensor_allocation_info
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected