ort.valueGetType( value as ort.value ) as String
Returns the tensor element type of the ort.value as a String.
ort.value
String
const v = ort.value([1,2,3,4,5,6], [2,3], "float") ort.valueGetType(v) => FLOAT