def test_1d_array_fanout():
    def fun(x):
        A = to_scalar(np.array([x, x * 1.0, x / 2.5]))
        return to_scalar(A + A)
    d_fun = lambda x : grad(fun)(x)
    check_grads(fun, 3.0)
    check_grads(d_fun, 3.0)
dataset/ETHPy150Open HIPS/autograd/tests/test_numpy.py/test_1d_array_fanout/operator `+` -> `/`