You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mindspore.dataset.BatchInfo.rst 519 B

123456789101112131415
  1. mindspore.dataset.BatchInfo
  2. ===========================
  3. .. py:class:: mindspore.dataset.BatchInfo
  4. 此类提供了两种方法获取数据集的批处理数量(batch size)和迭代数(epoch)属性。
  5. 这些属性可以用于 `batch` 操作中的输入参数 `batch_size` 和 `per_batch_map`。
  6. .. py:method:: get_batch_num()
  7. 返回数据集的批处理数量(batch size)。
  8. .. py:method:: get_epoch_num()
  9. 返回数据集的迭代数(epoch)。