cupy.testing.for_int_dtypes_combination#

cupy.testing.for_int_dtypes_combination(names=('dtype',), no_bool=False, full=None)[source]#

用于根据整数和布尔类型的组合进行参数化测试的装饰器。

参数:
  • names (list of str) – dtypes 将传递到的参数名称。

  • no_bool (bool) – 如果为 True,则从候选 dtypes 中省略 numpy.bool_

  • full (bool) – 如果为 True,则测试所有 dtypes 的组合。否则,将测试部分组合(详见 cupy.testing.for_dtypes_combination())。