asShortArray
Reads the selected range from the tensor as Shorts. The tensor must be of Tensor.DataType.INT16, otherwise you cannot read its content as ShortArray.
Return
The selected range of the tensor content as short array.
Throws
If the tensor's datatype is not Tensor.DataType.INT16.