Loading TOC...

cntk:shape-total-size

cntk:shape-total-size(
   $shape as cntk:shape
) as xs:unsignedLong

Summary

Returns the total size of the rectangular shape that this shape denotes.

Parameters
$shape The input shape.

Example

  cntk:shape-total-size(cntk:shape((5,6)))
  => 30

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