Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial2 issue #3

Open
ZvonimirBandic opened this issue Dec 8, 2021 · 0 comments
Open

Tutorial2 issue #3

ZvonimirBandic opened this issue Dec 8, 2021 · 0 comments

Comments

@ZvonimirBandic
Copy link

In tutorial 2, in code Tutorial2_spirals.py the line 22:

tf.set_random_seed(seed)

causes Attribution error (i.e. AttributeError: module 'tensorflow' has no attribute 'set_random_seed').

Should be replace with:

tf.random.set_seed(seed)

Not sure if this is worth a pull request, I think it is better to add it in issues so future users can find it. If you want
me to create a PR let me know.

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

No branches or pull requests

1 participant