asFloatArray
Reads the selected range from the tensor as floats. The tensor must be of Tensor.DataType.FLOAT32, otherwise you cannot read its content as FloatArray.
Return
The selected range of the tensor content as float array.
Throws
If the tensor's datatype is not Tensor.DataType.FLOAT32.