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!