code: def symiirorder2(input, r, omega, precision=-1.0):
      """
      Implement a smoothing IIR filter with mirror-symmetric boundary conditions
      using a cascade of second-order sections.  The second section uses a
      reversed sequence.  This implements the following transfer function::
  
                                    cs^2
           H(z) = ---------------------------------------
                  (1 - a2/z - a3/z^2) (1 - a2 z - a3 z^2 )
  
      where::
  
            a2 = 2 * r * cos(omega)
            a3 = - r ** 2
            cs = 1 - 2 * r * cos(omega) + r ** 2
  
      Parameters
      ----------
      input : ndarray
          The input signal.
      r, omega : float
          Parameters in the transfer function.
      precision : float
          Specifies the precision for calculating initial conditions
          of the recursive filter based on mirror-symmetric input.
  
      Returns
      -------
      output : ndarray
          The filtered signal.
      """
      return _symiirorder2_nd(input, r, omega, precision)
  
file_path: cupy/cupyx/scipy/signal/_splines.py
imports: import cupy
  from cupy._core._scalar import get_typename
  from cupy_backends.cuda.api import runtime
  from cupy._core.internal import _normalize_axis_index
  from cupyx.scipy.signal._signaltools import lfilter
  from cupyx.scipy.signal._arraytools import axis_slice, axis_assign, axis_reverse
  from cupyx.scipy.signal._iir_utils import collapse_2d, apply_iir_sos
label_desc: Use image node_id 8 for calling a global function with example usage: symiirorder2(input, r, omega, precision) and returns: _symiirorder2_nd