This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.. py:class:: mindspore.nn.transformer.OpParallelConfig(data_parallel=1, model_parallel=1)
用于设置数据并行和模型并行的OpParallelConfig。
**参数:**
- **data_parallel** (int) - 表示数据并行度。默认值:1
- **model_parallel** (int) - 表示模型并行度。默认值:1