Loading TOC...

cntk.valueShape

cntk.valueShape(
   $value as cntk.value
) as cntk.shape

Summary

Returns the shape of this value's contents.

Parameters
$value The value used to get the shape.

Example

  var value = cntk.sequence(cntk.shape([2,2]), [1,2,3,4,5,6,7,8], fn.false(),
    cntk.cpu(), "float")
  xdmp.quote(cntk.valueShape(value))
  => cntk.shape(Shape([2 x 4 x 1]))

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