Closed siyerp closed 4 weeks ago
@siyerp thanks for this.
Can you share what TF version are you using?
FYI @daviddavo
It doesn't appear in the changelog, but they changed it in 2.5.
I ran the tests on my machine and they work
@miguelgfierro I'm using Tensorflow 2.16, but even in the example notebook it says it's using Tensorflow 2.8, and according to to @daviddavo 's comment, even that should have had this issue.
Merging this.
Please @siyerp notice that https://github.com/recommenders-team/recommenders/issues/2111 is in the works. If you want to collaborate on this effort, please let me know
Changed a function call name to reflect a more recent version of tensorflow.
Description
I changed .reset_states() to .reset_state().
I was getting an error along the lines of "'Mean' object has no attribute 'reset_states'." It seems that in a newer version of tensorflow, the function has been renamed to .reset_state.
Related Issues
References
Checklist:
git commit -s -m "your commit message"
.staging branch
AND NOT TOmain branch
.