Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing assignment on random shuffle #5

Closed
janpfeifer opened this issue Sep 8, 2020 · 1 comment
Closed

Missing assignment on random shuffle #5

janpfeifer opened this issue Sep 8, 2020 · 1 comment

Comments

@janpfeifer
Copy link

First of all: very nice paper! Thanks for writing it up :)

I was reading the code, and I noticed that:

tf.random.shuffle(loss)

is missing an assignment (?), I think.

Don't you want to do:

loss = tf.random.shuffle(loss)

At least according to the doc here:

https://www.tensorflow.org/api_docs/python/tf/random/shuffle

cheers

@janpfeifer
Copy link
Author

Ops, I missed the issue has already been brought up ... along with issues of the non-differentiability of tf.random.shuffle.

For others landing here:

#3

Closing the issue here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant