import tensorflow as tf

    self._tower_loss_semi_supervised(
        self.inputs, self.labels, num_classes=num_classes, is_fm_loss=True)

    global_update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
    if update_ops is None:
      update_ops = global_update_ops
