code: def pool_3d(input, **kwargs):  # pragma: no cover
      """
      Wrapper function that calls :func:`theano.tensor.signal.pool_3d` either
      with the new or old keyword argument names expected by Theano.
      """
      try:
          return T.signal.pool.pool_3d(input, **kwargs)
      except TypeError:  # pragma: no cover
          # convert from new to old interface
          kwargs["ds"] = kwargs.pop("ws")
          kwargs["st"] = kwargs.pop("stride")
          kwargs["padding"] = kwargs.pop("pad")
          return T.signal.pool.pool_3d(input, **kwargs)
  
imports: import theano.tensor
  from .base import Layer
  from ..utils import as_tuple
label_desc: Use image node_id 3 for calling a global function with example usage: pool_3d(input) and returns: T, T