Loading TOC...

cntk:minibatch-size-schedule-from-sequence

cntk:minibatch-size-schedule-from-sequence(
   $minibatch-sizes as xs:unsignedLong*,
   [$epoch-size as xs:unsignedLong]
) as cntk:schedule

Summary

Returns a minibatch size schedule, based on a sequence of minibatch sizes. Works exactly like cntk:learning-rate-schedule-from-sequence.

Parameters
$minibatch-sizes A sequence of minibatch sizes.
$epoch-size The epoch size. Defaults to a special sentinel value to represent the whole data sweep.

Example

  xquery version "1.0-ml";

  let $rs := cntk:minibatch-size-schedule-from-sequence((50, 0, 60, 99))
  return fn:replace(xdmp:quote($rs), "0x[0-9A-Za-z]*", "TrainingParameterSchedule")
  => cntk:schedule(Data Type(size_t), 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.