Skip to content

Commit fa6f3ef

Browse files
aslanidescopybara-github
authored andcommitted
Remote tf.compat.v2 import (not needed).
PiperOrigin-RevId: 309683489 Change-Id: I0f01c97330441dcf34ab4875fa4dd21d7de34760
1 parent 1b49e41 commit fa6f3ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bsuite/baselines/tf/actor_critic/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import dm_env
3131
from dm_env import specs
3232
import sonnet as snt
33-
import tensorflow.compat.v2 as tf
33+
import tensorflow as tf
3434
import tensorflow_probability as tfp
3535
import tree
3636
import trfl

bsuite/baselines/tf/actor_critic_rnn/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import dm_env
3535
from dm_env import specs
3636
import sonnet as snt
37-
import tensorflow.compat.v2 as tf
37+
import tensorflow as tf
3838
import tree
3939
import trfl
4040

bsuite/baselines/tf/boot_dqn/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from dm_env import specs
4545
import numpy as np
4646
import sonnet as snt
47-
import tensorflow.compat.v2 as tf
47+
import tensorflow as tf
4848
import tree
4949

5050

0 commit comments

Comments
 (0)