mindspore2022/docs/api/api_python/nn/mindspore.nn.PipelineCell.rst

15 lines
410 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

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.

mindspore.nn.PipelineCell
=========================
.. py:class:: mindspore.nn.PipelineCell(network, micro_size)
将MiniBatch切分成更细粒度的MicroBatch用于流水线并行的训练中。
.. note::
micro_size必须大于或等于流水线stage的个数。
**参数:**
- **network** (Cell) - 要修饰的目标网络。
- **micro_size** (int) - MicroBatch大小。