TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.serialization.resolve_map_location

tensorplay.serialization.resolve_map_location(map_location: Any, location: str, nbytes: int = 0)[source]

Resolve one saved storage location.

None means that the saved location should be used by the caller. A callable may return a device, a destination tensor, or None.

On this page

Ask DeepWiki