Skip to content

Implement Metric Losses #26

@seanpmorgan

Description

@seanpmorgan

Per the RFC, we need to move metric_losses from contrib to addons:

  • pairwise_distance
  • contrastive_loss
  • triplet_semihard_loss
  • npairs_loss
  • npairs_loss_multilabel
  • lifted_struct_loss

This will involve inheriting from base Keras Loss, modifying the code to match those APIs, and modifying test cases to run in TF2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions