import tensorflow as tf

            if init_stddev <= 0.0:
                init = tf.contrib.layers.variance_scaling_initializer(dtype=tf.float32)
            else:
                init = tf.truncated_normal_initializer(stddev=init_stddev)
            return tf.layers.conv2d_transpose(input, channels, kernel_size=size, strides=[stride, stride],
                                            padding=padding, kernel_initializer=init, name='tr_conv' + id, use_bias=use_bias)
