MarkLogic Server 11.0 Product Documentation
ort.sessionInputCount

ort.sessionInputCount(
   session as ort.session
) as Number

Summary

Returns the number of inputs of a session.

Parameters
session An ort.session.

Example

  const session = ort.session(cts.doc("testmodel.onnx"));
  ort.sessionInputCount(session)
  => 1
Powered by MarkLogic Server | Terms of Use | Privacy Policy