code: def gradcheck(func, input, eps=1e-3, atol=1e-3, rtol=1e-3):
      NJ = numerical_jacobian(func, input, eps)
      J = jacobian(func, input)
      return np.allclose(J, NJ, atol=atol, rtol=rtol)
  
imports: import numpy
  from tinygrad.tensor import Tensor
label_desc: Use image node_id 4 for calling a global function with example usage: gradcheck(func, input, eps, atol, rtol) and returns: np