cupy.testing.for_signed_dtypes#

cupy.testing.for_signed_dtypes(name='dtype')[源码]#

一个用于使用有符号数据类型检查fixture的装饰器。

参数:

name (str) – 指定数据类型将传递给的参数名称。

要测试的数据类型为 numpy.dtype('b'), numpy.dtype('h'), numpy.dtype('i'), numpy.dtype('l')numpy.dtype('q')