Loading TOC...

cntk.placeholderVariable

cntk.placeholderVariable(
   [$shape as cntk.shape],
   [$data-type as String],
   [$name as String],
   [$dynamic-axes as cntk.axis[]]
) as cntk.variable

Summary

Constructs a placeholder variable.

Parameters
$shape The shape of the placeholder. Default is a special sentinel value "Unknown".
$data-type The data-type of the placeholder. Default is a special sentinel value "Unknown".
$name The name of the placeholder.
$dynamic-axes The dynamic axes of the placeholder. Default is none (no dynamic axis).

Example

  cntk.placeholderVariable(cntk.shape([1,2,3]), "float", "new_variable")
  => cntk.variable(Placeholder(Name(new_variable), Shape([3]), Dynamic
  Axes([Unknown Axis])))

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