Skip to content

Commit

Permalink
Explicitly replace "import tensorflow" with "tensorflow.compat.v1"
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 287258346
Change-Id: I69d08a00100d9f05c37d55e3ddd0ba50c08585ee
  • Loading branch information
DeepMind Technologies Ltd authored and open_spiel@google.com committed Dec 27, 2019
1 parent 9655c50 commit 8f40ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/python/algorithms/rcfr_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import numpy as np
# Note: this import needs to come before Tensorflow to fix a malloc error.
import pyspiel # pylint: disable=g-bad-import-order
import tensorflow.compat.v1 as tf
import tensorflow as tf

from open_spiel.python.algorithms import rcfr

Expand Down

0 comments on commit 8f40ba3

Please sign in to comment.