API reference
latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
tensorplay.multiprocessing API
Functions 3
get_all_sharing_strategies
functionFull reference ↗- tensorplay.multiprocessing.get_all_sharing_strategies()[source]
Return a set of sharing strategies supported on a current system.
get_sharing_strategy
functionFull reference ↗- tensorplay.multiprocessing.get_sharing_strategy()[source]
Return the current strategy for sharing CPU tensors.
set_sharing_strategy
functionFull reference ↗- tensorplay.multiprocessing.set_sharing_strategy(new_strategy)[source]
Set the strategy for sharing CPU tensors.
- Parameters:
new_strategy (str) – Name of the selected strategy. Should be one of the values returned by
get_all_sharing_strategies().
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

