Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active October 31, 2021 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b0noI/79ca6edd51e979af762773b962a37c51 to your computer and use it in GitHub Desktop.
Save b0noI/79ca6edd51e979af762773b962a37c51 to your computer and use it in GitHub Desktop.
def loss(y_predict, y_actual):
return torch.pow(y_predict - y_actual, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment