Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on "[pytorch] Add triplet margin loss with custom distance"
Summary: As discussed [here](#43342), adding in a Python-only implementation of the triplet-margin loss that takes a custom distance function. Still discussing whether this is necessary to add to PyTorch Core. Test Plan: python test/run_tests.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D23363898](https://our.internmc.facebook.com/intern/diff/D23363898) [ghstack-poisoned]
- Loading branch information