ort:session-input-count( $session as ort:session ) as xs:unsignedLong
Returns the number of inputs of a session.
Parameters | |
---|---|
$session |
An ort:session .
|
let $session := ort:session(fn:doc("testmodel.onnx")) return ort:session-input-count($session) => 1