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.train.callback.LearningRateScheduler.rst 427 B

4 years ago
123456789101112131415
  1. .. py:class:: mindspore.train.callback.LearningRateScheduler(learning_rate_function)
  2. 用于在训练期间更改学习率。
  3. **参数:**
  4. - **learning_rate_function** (Function) - 在训练期间更改学习率的函数。
  5. .. py:method:: step_end(run_context)
  6. 在step结束时更改学习率。
  7. **参数:**
  8. - **run_context** (RunContext) - 包含模型的一些基本信息。