MarkLogic Server 11.0 Product Documentation
ort:value-is-tensor

ort:value-is-tensor(
   $value as ort:value
) as xs:boolean

Summary

Returns if the ort:value has value type "TENSOR".

Parameters
$value An ort:value.

Example

  let $v := ort:value((1,2,3,4,5,6), (2,3), "float")
  return ort:value-is-tensor($v)
  =>
  true
Powered by MarkLogic Server | Terms of Use | Privacy Policy