mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-05-29 19:55:25 +08:00
Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
PiperOrigin-RevId: 293612141
This commit is contained in:
committed by
Diego de Las Casas
parent
05dc76efa1
commit
48ba42f792
@@ -22,7 +22,7 @@ import os
|
||||
|
||||
import numpy as np
|
||||
import six.moves.cPickle as pickle
|
||||
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||
|
||||
|
||||
RR_FORMAT = """PFRMAT RR
|
||||
|
||||
Reference in New Issue
Block a user