mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-06-02 14:45: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
@@ -16,7 +16,7 @@
|
||||
|
||||
import 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
|
||||
|
||||
|
||||
def distance_histogram_dict(f):
|
||||
|
||||
Reference in New Issue
Block a user