with tf.name_scope('nearest_upsampling'):
        x_2 = array_ops.placeholder(dtypes.float32, shape=(8, 10, 10, 8))
        x_2_stack_1 = tf.stack([x_2] * 2, axis=3)
        x_2_reshape_1 = tf.reshape(x_2_stack_1, [8, 10, 20, 8])
        x_2_stack_2 = tf.stack([x_2_reshape_1] * 2, axis=2)