with tf.name_scope('nearest_upsampling'):
        x_1 = array_ops.placeholder(dtypes.float32, shape=(8, 10, 10, 8))
        x_1_stack_1 = tf.stack([x_1] * 2, axis=3)
        x_1_reshape_1 = tf.reshape(x_1_stack_1, [8, 10, 20, 8])
        x_1_stack_2 = tf.stack([x_1_reshape_1] * 2, axis=2)