import tensorflow as tf

        self.padding = [ [0,0],[k_h//2,k_h//2],[k_w//2,k_w//2],[0,0] ]

    def __call__(self,input_var,name=None,**kwargs):
        _,h,w,c = input_var.shape.as_list()
        _t = tf.image.resize_nearest_neighbor(input_var, [h*2, w*2])
        _t = tf.pad(_t,self.padding, mode='SYMMETRIC')
        return self.conv2d(_t)

