
ort.sessionOutputName( session as ort.session, index as Number ) as String
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. |
const session = ort.session(cts.doc("testmodel.onnx"));
ort.sessionOutputName(session, 0)
=> output_0
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.