Loading TOC...

MarkLogic Server 11.0 Product Documentation
ort.sessionOutputCount

ort.sessionOutputCount(
   session as ort.session
) as Number

Summary

Returns the number of outputs of a session.

Parameters
session An ort.session.

Example

  const session = ort.session(cts.doc("testmodel.onnx"));
  ort.sessionOutputCount(session)
  => 1

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.