ort.stringContent( value as ort.value ) as Array
Returns the content of a string tensor.
Parameters | |
---|---|
value | The string tensor. |
const value = ort.string(["hello", " ", "world", "this is", "", " an example!"], [2,3]) ort.stringContent(value) => hello world this is an example!
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.