margin_ranking_lossΒΆ

Auto-generated from mlx_code_defs

PyTorch

API: torch.nn.functional.margin_ranking_loss
Strategy: Direct Mapping

Apple MLX

API: mlx.nn.losses.margin_ranking_loss
Strategy: Direct Mapping