Loading TOC...

cntk:placeholder-variable

cntk:placeholder-variable(
   [$shape as cntk:shape],
   [$data-type as xs:string],
   [$name as xs: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:placeholder-variable(cntk:shape((1,2,3)), "float", "new_variable")
  => cntk:variable(Placeholder(Name(new_variable), Shape([1 x 2 x 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.