Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

reset_states() -> resetStates() in inline documentation #306

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

brannondorsey
Copy link
Contributor

@brannondorsey brannondorsey commented Aug 28, 2018

Description

Fix incorrect method name for resetStates() in inline docs likely left over from python migration. This documentation shows up in the latest version of the official API docs here. I was banging my head against the wall for a while after reading those docs with a TypeError: model.reset_states is not a function before realizing the method had been renamed to fit the JavaScript naming convention. Thanks again for the recent addition of stateful RNNs @caisq 👏!

DOC


This change is Reviewable

Copy link
Contributor

@caisq caisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @brannondorsey !

@caisq caisq merged commit a438832 into tensorflow:master Aug 28, 2018
@brannondorsey brannondorsey deleted the resetStates branch August 28, 2018 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants