Loading TOC...

cntk:shape-has-free-dimension

cntk:shape-has-free-dimension(
   $shape as cntk:shape
) as xs:boolean

Summary

Returns a boolean value indicating if the dimension size for any of the axes of this shape is free.

Parameters
$shape The input shape.

Example

  let $shape := cntk:shape((2,3, cntk:shape-inferred-dimension()))
  return cntk:shape-has-free-dimension($shape)
  => false

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