Migrate tf v1 symbols to v2 and tf.compat.v1 symbols.
Migrate tf v1 symbols to v2 and tf.compat.v1 symbols.

PiperOrigin-RevId: 281768340

tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo