MCPcopy Create free account
hub / github.com/pytorch/executorch / AllocationDetails

Class AllocationDetails

exir/schema.py:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18@dataclass
19class AllocationDetails:
20 memory_id: int
21 # Low 32 bits
22 memory_offset_low: int
23 # High 32 bits (typically zero)
24 memory_offset_high: int
25
26 @property
27 def memory_offset(self) -> int:
28 return self.memory_offset_low | (self.memory_offset_high << 32)
29
30
31@dataclass

Callers 2

_make_programMethod · 0.90
get_test_programFunction · 0.90

Calls

no outgoing calls

Tested by 1

_make_programMethod · 0.72