Skip to content

TensorFlow v2 & linting#91

Open
SamuelMarks wants to merge 2 commits intoqubvel:masterfrom
SamuelMarks:tensorflow-v2
Open

TensorFlow v2 & linting#91
SamuelMarks wants to merge 2 commits intoqubvel:masterfrom
SamuelMarks:tensorflow-v2

Conversation

@SamuelMarks
Copy link
Contributor

No description provided.

@rom1504
Copy link

rom1504 commented Feb 8, 2020

is this necessary ? this module works fine for me on TF2

@SamuelMarks
Copy link
Contributor Author

You'll get warnings or errors without the tf.compat variants of tf.compat.v1.Session() and tf.compat.v1.global_variables_initializer().

E.g., look at their source code https://github.com/tensorflow/tensorflow/blob/r2.1/tensorflow/python/client/session.py#L1511-L1676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants