def grad_test_spec(op, nargs, order, rng_factory, dtypes, name=None, tol=None):
    return GradTestSpec(op, nargs, order, rng_factory, dtypes, (name or op.__name__), tol)
def grad_test_spec(op, nargs, order, rng_factory, dtypes, name=None, tol=None):
    return GradTestSpec(op, nargs, order, rng_factory, dtypes, (name or op.__name__), tol)