def deconvolution_2d(x, W, b=None, stride=1, pad=0, outsize=None, use_cudnn=True, deterministic=False):
 func = Deconvolution2DFunction(stride, pad, outsize, use_cudnn, deterministic)
 if (b is None):
  return func(x, W)
 else:
  return func(x, W, b)

def deconvolution_2d ( x , W , b = None , stride = 1 , pad = 0 , outsize = None , use_cudnn = True , deterministic = False ) : func = Deconvolution2DFunction ( stride , pad , outsize , use_cudnn , deterministic ) if ( b is None ) : return func ( x , W ) else : return func ( x , W , b )
two dimensional deconvolution function .