Loading TOC...

cntk:squeeze-axes

cntk:squeeze-axes(
   $operand as cntk:variable,
   $axes as cntk:axis*,
   $name as xs:string
) as cntk:function

Summary

Create an instance of the squeeze operation on specified tensor input operand, for the specified axis

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

Example

  let $input-variable1 := cntk:input-variable(cntk:shape((1,3)), "float",
    fn:false(), fn:false(), "feature")
  return cntk:squeeze-axes($input-variable1,cntk:axis(0))
  => cntk:function(Composite Squeeze (Input(Name(feature), Shape([1 x 3]),
  Dynamic Axes([Sequence Axis(Default Dynamic Axis), 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.