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

huber loss equation in eager execution #148

Open
fsilavong opened this issue Sep 29, 2019 · 0 comments
Open

huber loss equation in eager execution #148

fsilavong opened this issue Sep 29, 2019 · 0 comments

Comments

@fsilavong
Copy link

Hi, I was going through the assignments and realised that the huber loss equation was multiplied by two here:

return t ** 2 if tf.abs(t) <= m else m * (2 * tf.abs(t) - m)

Any reason for that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant