# tensorplay.multiprocessing.set_sharing_strategy Source: https://www.tensorplay.cn/docs/generated/tensorplay.multiprocessing.set_sharing_strategy.html ```python tensorplay.multiprocessing.set_sharing_strategy(new_strategy) ``` Set the strategy for sharing CPU tensors. Parameters: new_strategy ([str](https://docs.python.org/3/builtins/stdtypes.html#str)) – Name of the selected strategy. Should be one of the values returned by [get_all_sharing_strategies()](/docs/generated/tensorplay.multiprocessing.get_all_sharing_strategies.html#tensorplay.multiprocessing.get_all_sharing_strategies).