Loading TOC...

cntk:momentum-schedule-from-constant

cntk:momentum-schedule-from-constant(
   $momentum as xs:double,
   [$minibatch-size as xs:unsignedLong]
) as cntk:schedule

Summary

Returns a momentum schedule where the momentum decay rate is fixed.

Parameters
$momentum The momentum.
$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.

Example

  xquery version "1.0-ml";

  let $rs := cntk:momentum-schedule-from-constant(15.5)
  return fn:replace(xdmp:quote($rs), "0x[0-9A-Za-z]*", "TrainingParameterSchedule")
  => cntk:schedule(Data Type(double), Mini Batch Size(0), Sweep Based(true), Full Data Sweep(0), Current Version(2))

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