pytorch-metric-learning
pytorch-metric-learning copied to clipboard
Add loss batching code as a utility function
See:
- https://github.com/KevinMusgrave/pytorch-metric-learning/issues/547#issuecomment-1304907510
- https://github.com/KevinMusgrave/pytorch-metric-learning/issues/6#issuecomment-1416870096