Loading TOC...

cntk.momentumScheduleFromSequence

cntk.momentumScheduleFromSequence(
   $momentum as Number[],
   [$epoch-size as (Number|String)],
   [$minibatch-size as (Number|String)]
) as cntk.schedule

Summary

Returns a momentum schedule, based on a sequence of momentum decay rates. Works exactly like cntk:learning-rate-schedule-from-sequence.

Parameters
$momentum A sequence of momentum.
$epoch-size The epoch size. The momentum changes every $epoch-size samples. Defaults to a special sentinel value to represent the whole data sweep.
$minibatch-size The minibatch size. Defaults to a sentinel value which means ignored. This is a "best-effort" parameter: there is no guarantee that the size of every minibatch is exactly $minibatch-size.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.