cupy.unpackbits#
- cupy.unpackbits(a, axis=None, bitorder='big')[源代码][源代码]#
将 uint8 数组的元素解包到二进制值的输出数组中。
此函数目前不支持
axis选项。- 参数:
a (cupy.ndarray) – 输入数组。
bitorder (str, optional) – 解包数组时要使用的位序,允许的值为 ‘little’ 和 ‘big’。默认为 ‘big’。
- 返回:
解包后的数组。
- 返回类型:
参见
numpy.unpackbits()