mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-05-28 10:45:46 +08:00
Explicitly replace "import tensorflow" with "tensorflow.compat.v1"
PiperOrigin-RevId: 288392606
This commit is contained in:
committed by
Diego de Las Casas
parent
8b47d2a576
commit
b8cf44502b
@@ -21,7 +21,7 @@ from __future__ import print_function
|
||||
import functools
|
||||
|
||||
import sonnet as snt
|
||||
import tensorflow as tf
|
||||
import tensorflow.compat.v1 as tf
|
||||
from tensorflow.contrib import framework as contrib_framework
|
||||
from tensorflow.contrib import layers as contrib_layers
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
from absl.testing import parameterized
|
||||
import tensorflow as tf
|
||||
import tensorflow.compat.v1 as tf
|
||||
from transporter import transporter
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user