cupy.unpackbits

cupy.unpackbits(myarray)[source]

Unpacks elements of a uint8 array into a binary-valued output array.

This function currently does not support axis option.

Parameters

myarray (cupy.ndarray) – Input array.

Returns

The unpacked array.

Return type

cupy.ndarray