cupy.cuda.texture.ChannelFormatDescriptor#
- class cupy.cuda.texture.ChannelFormatDescriptor(int x, int y, int z, int w, int f)[源码]#
一个保存通道格式描述的类。等同于
cudaChannelFormatDesc
。- 参数:
方法
- get_channel_format(self)#
返回包含输入的字典。
- __eq__(value, /)#
返回 self==value。
- __ne__(value, /)#
返回 self!=value。
- __lt__(value, /)#
返回 self<value。
- __le__(value, /)#
返回 self<=value。
- __gt__(value, /)#
返回 self>value。
- __ge__(value, /)#
返回 self>=value。
属性
- ptr#