Skip to content

Commit

Permalink
Replace tensorflow.compat.v2 import with tensorflow in vocabularies.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 610530663
  • Loading branch information
texasmichelle authored and SeqIO committed Feb 26, 2024
1 parent e31af8c commit ccfd7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqio/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from typing import Any, ClassVar, Dict, Iterable, Optional, Sequence, Union

from absl import logging
import tensorflow.compat.v2 as tf
import tensorflow as tf
import tensorflow_text as tf_text

from sentencepiece import sentencepiece_model_pb2
Expand Down

0 comments on commit ccfd7a5

Please sign in to comment.