
ort:session-input-name( $session as ort:session, $index as xs:unsignedLong ) as xs:string
Returns the name of an input of a session, specified by an index.
| Parameters | |
|---|---|
| $session |
An ort:session.
|
| $index | The index of the input. Starts from 0. |
let $session := ort:session(fn:doc("testmodel.onnx"))
return ort:session-input-name($session, 0)
=> input_0
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.