ort:session-output-name

ort:session-output-name(
   $session as ort:session,
   $index as xs:unsignedLong
) as xs:string

Summary

Returns the name of an output of a session, specified by an index.

Parameters
$session An ort:session.
$index The index of the output. Starts from 0.

Example

  let $session := ort:session(fn:doc("testmodel.onnx"))
  return ort:session-output-name($session, 0)
  => output_0
Powered by MarkLogic Server | Terms of Use | Privacy Policy