code: def relative(
      current: np.ndarray, prev: np.ndarray, eps=1e-6
  ) -> np.ndarray:
      diff = current - prev  # type: ignore
      return (np.abs(diff) + eps) / (np.abs(prev) + eps)
  
file_path: pymc/pymc/variational/callbacks.py
imports: import collections
  from typing import Callable, Dict
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: relative(current, prev, eps) and returns: unknown