Loading TOC...

cntk:shape-rank

cntk:shape-rank(
   $shape as cntk:shape
) as xs:unsignedLong

Summary

Returns the rank of the shape.

Parameters
$shape The input shape.

Example

  cntk:shape-rank(cntk:shape((4,3,3,1,2)))
  => 5

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