def test_two_derivative(fn, t1, t2): minitorch.derivative_check(fn[1], t1, t2)
def test_two_derivative(fn, t1, t2): name, _, scalar_fn = fn derivative_check(scalar_fn, t1, t2)
def test_one_derivative(fn, t1): minitorch.derivative_check(fn[1], t1)
def test_one_derivative(fn, t1): name, _, scalar_fn = fn derivative_check(scalar_fn, t1)