code: def compute_eps_from_delta(orders, rdp, delta):
      """Translates between RDP and (eps, delta)-DP.
  
      Args:
        orders: A list (or a scalar) of orders.
        rdp: A list of RDP guarantees (of the same length as orders).
        delta: Target delta.
  
      Returns:
        Pair of (eps, optimal_order).
  
      Raises:
        ValueError: If input is malformed.
      """
      if len(orders) != len(rdp):
          raise ValueError("Input lists must have the same length.")
      eps = np.array(rdp) - math.log(delta) / (np.array(orders) - 1)
      idx_opt = np.argmin(eps)
      return eps[idx_opt], orders[idx_opt]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  from absl import app
  import numpy
  import scipy.stats
label_desc: Use image node_id 3 for calling a global function with example usage: compute_eps_from_delta(orders, rdp, delta) and returns: eps,  orders