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

Method __init__

exir/pass_base.py:101–102  ·  view source on GitHub ↗
(self, data: Dict[str, Any])

Source from the content-addressed store, hash-verified

99
100class NodeMetadata:
101 def __init__(self, data: Dict[str, Any]) -> None:
102 self.data: Dict[str, Any] = data.copy()
103
104 def __getitem__(self, key: str) -> NodeMetadataValue:
105 return self.data[key]

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected