Loading TOC...

cntk.trainMinibatch

cntk.trainMinibatch(
   $trainer as cntk.trainer,
   $variable-value-map as Array,
   [$is-sweep-end as Boolean],
   [$device as cntk.device]
) as Boolean

Summary

Optimize model parameter using a minibatch of training data. Returns true on success.

Parameters
$trainer
$variable-value-map The same variable value map used in cntk:evaluate. It's an array of array, with each inner array being a pair of input variable and its value. You must supply value for all input variables.
$is-sweep-end Whether this minibatch marks the end of an epoch. Defaults to false.
$device The device descriptor that contains the type and id of the device on which the computation is to be performed.

Required Privileges

http://marklogic.com/cntk/privileges/cntk-train-minibatch

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