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

huber loss equation in eager execution #148

@fsilavong

Description

@fsilavong

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions