import tensorflow as tf

        rot = tf.reshape(tf.gather(labeled_rotations[i], [0, 2, 6, 8]), [2, 2])

        min_x = tf.cast(0.0 - labeled_sizes[i][0] / 2.0, dtype=tf.float32)
        max_x = tf.cast(0.0 + labeled_sizes[i][0] / 2.0, dtype=tf.float32)
