Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ _SerializedProgram
Class
_SerializedProgram
exir/serde/export_serialize.py:227–231 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
225
226
@dataclass
227
class
_SerializedProgram:
228
exported_program: ExportedProgram
229
state_dict: bytes
230
constants: bytes
231
example_inputs: bytes
232
233
234
def
deserialize_device(d: Device) -> torch.device:
Callers
1
serialize
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected