Loading TOC...

cntk.unpackBatch

cntk.unpackBatch(
   $operand as cntk.variable,
   $name as String
) as cntk.function

Summary

Create an instance of detach dynamic axis operation that convert the input's last dynamic axis to static axis. Only batch axis is supported now.

Parameters
$operand The operand of the operation.
$name The name of the function instance in the network.

Example

  var inputVariable1 = cntk.inputVariable(cntk.shape([2,2]), "float", fn.false(),
    fn.false(), "feature",(cntk.defaultBatchAxis()))
  cntk.unpackBatch(inputVariable1,"name")
  => cntk.function(Composite UnpackBatchAxis (Input(Name(feature), Shape([2]),
  Dynamic Axes([Batch Axis(Default Batch Axis)]))))

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