Converts a tensor to a typed array.
The tensor
Optional
The type of the typed array, which can be "int8", "int16", "int32", "float32", "float64", or "bigint64" (optional, defaults to "float32")
Converts a tensor to a typed array.