MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / callable_map_location

Function callable_map_location

imperative/python/megengine/serialization.py:87–88  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

85 if map_location is None:
86
87 def callable_map_location(state):
88 return state
89
90 elif isinstance(map_location, str):
91

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected