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