def dilated_convolution_2d(x, W, b=None, stride=1, pad=0, dilate=1, use_cudnn=True, cover_all=False):
 func = DilatedConvolution2DFunction(stride, pad, dilate, use_cudnn, cover_all)
 if (b is None):
  return func(x, W)
 else:
  return func(x, W, b)

def dilated_convolution_2d ( x , W , b = None , stride = 1 , pad = 0 , dilate = 1 , use_cudnn = True , cover_all = False ) : func = DilatedConvolution2DFunction ( stride , pad , dilate , use_cudnn , cover_all ) if ( b is None ) : return func ( x , W ) else : return func ( x , W , b )
two-dimensional dilated convolution function .