MarkLogic 10 Product Documentation
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!
Powered by MarkLogic Server | Terms of Use | Privacy Policy