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

Class DebugSchema

backends/arm/debug/schema.py:99–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98@dataclass
99class DebugSchema:
100 event_id: int
101 aten_info: ATenDebugSchema
102 tosa_info: Optional[TosaDebugSchema]
103 torch_info: TorchDebugSchema
104
105 def to_dict(self) -> dict[str, Any]:
106 output = asdict(self)
107
108 if self.tosa_info is None:
109 output.pop("tosa_info")
110
111 return output
112
113
114class DebugHook:

Callers 1

addMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected