Loading TOC...

cntk.variableIsConstant

cntk.variableIsConstant(
   $variable as cntk.variable
) as Boolean

Summary

Returns if the variable is a constant variable.

Parameters
$variable The input variable.

Example

  cntk.variableIsConstant(cntk.inputVariable(cntk.shape([3,4]), "float",fn.false(),
    fn.false(), "feature"))
  => false

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