cupy.mod#

cupy.mod(x1, x2, /, out=None, \*, casting='same_kind', dtype=None)#

计算Python除法的余数,逐元素进行。

参见

numpy.remainder