Skip to content

Conversation

@james47
Copy link
Contributor

@james47 james47 commented Nov 6, 2024

As title. This is to fix the following:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-14-e4b89749e4d3>](https://localhost:8080/#) in <cell line: 13>()
     33                          test_accuracy.result() * 100))
     34 
---> 35   test_loss.reset_states()
     36   train_accuracy.reset_states()
     37   test_accuracy.reset_states()

AttributeError: 'Mean' object has no attribute 'reset_states'

@github-actions
Copy link

github-actions bot commented Nov 6, 2024

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin james47/resetstate

@james47 james47 marked this pull request as ready for review November 6, 2024 04:08
@james47 james47 requested a review from a team as a code owner November 6, 2024 04:08
@8bitmp3
Copy link
Contributor

8bitmp3 commented Nov 11, 2024

@MarkDaoust @markmcd PTAL

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants