Loading TOC...

ort.stringContent

ort.stringContent(
   value as ort.value
) as Array

Summary

Returns the content of a string tensor.

Parameters
value The string tensor.

Example

  const value = ort.string(["hello", " ", "world", "this is", "", " an example!"], [2,3])
  ort.stringContent(value)
  =>
  hello

  world
  this is

   an example!

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