Loading TOC...

MarkLogic Server 11.0 Product Documentation
ort.sessionInputName

ort.sessionInputName(
   session as ort.session,
   index as Number
) as String

Summary

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.

Example

  const session = ort.session(cts.doc("testmodel.onnx"));
  ort.sessionInputName(session, 0)
  => input_0

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