C++ API parity: MarginRankingLoss
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/29000
Test Plan: Imported from OSS
Differential Revision: D18271855
Pulled By: pbelevich
fbshipit-source-id: cbafc7f059173306c83673d7be374c2d3700911f