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)

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 )
wrapper function that calls :func:theano .