Skip to content

Question about last layer in loss function #12

@brianw0924

Description

@brianw0924

I know it have to normalize the weight

but why do we need this line:

x = F.normalize(x, p=2, dim=1)

why normalize feature?

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