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

Function _reverse_map

exir/serde/export_serialize.py:128–129  ·  view source on GitHub ↗
(d: Dict[Any, Enum])

Source from the content-addressed store, hash-verified

126
127
128def _reverse_map(d: Dict[Any, Enum]):
129 return {v.value: k for k, v in d.items()}
130
131
132MetaType = Union[

Callers 1

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected