

def test_min_axis():

    def fun(x):
        return to_scalar(np.min(x, axis=1))
    d_fun = (lambda x: to_scalar(grad(fun)(x)))
    mat = npr.randn(3, 4, 5)
    check_grads(fun, mat)
    check_grads(x, mat)

dataset/ETHPy150Open HIPS/autograd/tests/test_numpy.py test_min_axis/VarMisuse@74/85 `d_fun`->`x`