Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
128
def
_reverse_map(d: Dict[Any, Enum]):
129
return
{v.value: k
for
k, v in d.items()}
130
131
132
MetaType = Union[
Callers
1
export_serialize.py
File · 0.85
Calls
1
items
Method · 0.80
Tested by
no test coverage detected