Loading TOC...

MarkLogic Server 11.0 Product Documentation
ort.valueGetType

ort.valueGetType(
   value as ort.value
) as String

Summary

Returns the tensor element type of the ort.value as a String.

Parameters
value An ort.value.

Example

  const v = ort.value([1,2,3,4,5,6], [2,3], "float")
  ort.valueGetType(v)
  =>
  FLOAT

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