ort:session-output-count
ort:session-output-count(
$session as ort:session
) as xs:unsignedLong
Summary
Returns the number of outputs of a session.
Parameters |
$session |
An ort:session .
|
Example
let $session := ort:session(fn:doc("testmodel.onnx"))
return ort:session-output-count($session)
=> 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.