Loading TOC...

cntk:value-data-type

cntk:value-data-type(
   $value as cntk:value
) as xs:string

Summary

Returns the data type of this value's contents.

Parameters
$value The value used to get the data type.

Example

  let $value := cntk:sequence(cntk:shape((2,2)), json:to-array(1 to 8),
    fn:false(), cntk:cpu(), "float")
  return cntk:value-data-type($value)
  => Float

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