cupy.testing.for_signed_dtypes#

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

检查带有签名dtypes的fixture的装饰器。

参数:

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

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