original_docstring: 
      Wrapper function that calls :func:`theano.tensor.signal.pool_2d` either
      with the new or old keyword argument names expected by Theano.
      
docstring: Wrapper function that calls :func:`theano.tensor.signal.pool_2d` either
  with the new or old keyword argument names expected by Theano.
docstring_tokens: Wrapper function that calls : func : ` theano . tensor . signal . pool_2d ` either with the new or old keyword argument names expected by Theano .
code: def pool_2d(input, **kwargs):
      """
      Wrapper function that calls :func:`theano.tensor.signal.pool_2d` either
      with the new or old keyword argument names expected by Theano.
      """
      try:
          return T.signal.pool.pool_2d(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_2d(input, **kwargs)
code_tokens: def pool_2d ( input , ** kwargs ) : try : return T . signal . pool . pool_2d ( input , ** kwargs ) except TypeError : kwargs [ 'ds' ] = kwargs . pop ( 'ws' ) kwargs [ 'st' ] = kwargs . pop ( 'stride' ) kwargs [ 'padding' ] = kwargs . pop ( 'pad' ) return T . signal . pool . pool_2d ( input , ** kwargs )
short_docstring: Wrapper function that calls :func:`theano.tensor.signal.pool_2d` either
  with the new or old keyword argument names expected by Theano.
short_docstring_tokens: Wrapper function that calls : func : ` theano . tensor . signal . pool_2d ` either with the new or old keyword argument names expected by Theano .
comment: """
      Wrapper function that calls :func:`theano.tensor.signal.pool_2d` either
      with the new or old keyword argument names expected by Theano.
      """$SEP$# pragma: no cover$SEP$# convert from new to old interface