cupy.real_if_close# cupy.real_if_close(a, tol=100)[source]# If input is complex with all imaginary parts close to zero, return real parts. “Close to zero” is defined as tol * (machine epsilon of the type for a). Warning This function may synchronize the device. See also numpy.real_if_close()