def values_eq_approx_high_tol(a, b):
 assert (a.ndim == 4)
 atol = None
 if ((a.shape[(-1)] * a.shape[(-2)]) > 100):
  atol = 3e-05
 return CudaNdarrayType.values_eq_approx(a, b, atol=atol)

def values_eq_approx_high_tol ( a , b ) : assert ( a . ndim == 4 ) atol = None if ( ( a . shape [ ( - 1 ) ] * a . shape [ ( - 2 ) ] ) > 100 ) : atol = 3e-05 return CudaNdarrayType . values_eq_approx ( a , b , atol = atol )
this fct is needed to dont have debugmode raise useless error due to ronding error .