int8
- :
y =int8(x)¶ Return x recast as a signed 8-bit integer array, with range −128 to 127.
Non-integer values are rounded to the nearest integer, with halves rounded away from zero, and any value outside the representable range saturates to the nearest limit rather than wrapping around. The shape of x is preserved and exactly one argument is required.