code: def rosenbrock(x):
      """Rosenbrock function: test function for evaluating algorithms."""
      x = np.array(x)
      x_curr, x_next = x[..., :-1], x[..., 1:]
      terms = 100 * np.square(x_next - np.square(x_curr)) + np.square(
          1 - x_curr
      )
      return np.sum(terms, axis=-1)
  
file_path: tf-quant-finance/tf_quant_finance/experimental/finite_difference/methods.py
imports: from autograd import elementwise_grad
  import autograd.numpy
  import pandas
  import sobol_seq
label_desc: Use image node_id 1 for calling a global function with example usage: rosenbrock(x) and returns: np