Skip to content

Instantly share code, notes, and snippets.

@angadsinghsandhu
Created December 1, 2020 05:23
Show Gist options
  • Save angadsinghsandhu/fa487c61f510d5d9c3a590fe9de1eaf3 to your computer and use it in GitHub Desktop.
Save angadsinghsandhu/fa487c61f510d5d9c3a590fe9de1eaf3 to your computer and use it in GitHub Desktop.
Resetting Loss
# reset loss after each iteration
def resetloss(self):
self.loss = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment