mindspore.reset_algo_parameters

mindspore.reset_algo_parameters()[source]

Reset the algorithm parameter attributes.

Note

This interface works ONLY in AUTO_PARALLEL mode.

After reset, the values of the attributes are:

  • fully_use_devices: True.

  • elementwise_op_strategy_follow: False.

  • enable_algo_approxi: False.

  • algo_approxi_epsilon: 0.1.

  • tensor_slice_align_enable: False.

  • tensor_slice_align_size: 16.

Examples

>>> import mindspore as ms
>>> ms.reset_algo_parameters()