MarkLogic 10 Product Documentation
ort:session-input-count

ort:session-input-count(
   $session as ort:session
) as xs:unsignedLong

Summary

Returns the number of inputs of a session.

Parameters
$session An ort:session.

Example

  let $session := ort:session(fn:doc("testmodel.onnx"))
  return ort:session-input-count($session)
  => 1
Powered by MarkLogic Server | Terms of Use | Privacy Policy