cupy.testing.for_all_dtypes_combination#

cupy.testing.for_all_dtypes_combination(names=('dtyes',), no_float16=False, no_bool=False, full=None, no_complex=False)[source]#

Decorator that checks the fixture with a product set of all dtypes.

Parameters:
  • names (list of str) – Argument names to which dtypes are passed.

  • no_float16 (bool) – If True, numpy.float16 is omitted from candidate dtypes.

  • no_bool (bool) – If True, numpy.bool_ is omitted from candidate dtypes.

  • full (bool) – If True, then all combinations of dtypes will be tested. Otherwise, the subset of combinations will be tested (see description in cupy.testing.for_dtypes_combination()).

  • no_complex (bool) – If, True, numpy.complex64 and numpy.complex128 are omitted from candidate dtypes.