Loading TOC...

cntk.shapeTotalSize

cntk.shapeTotalSize(
   $shape as cntk.shape
) as (Number|String)

Summary

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

Parameters
$shape The input shape.

Example

  cntk.shapeTotalSize(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.