diff --git a/python/paddle/fluid/layers/loss.py b/python/paddle/fluid/layers/loss.py index 3610efdd505bdb60861aeeae198ff4bc6e0fb741..2b1449a94e6e5a21c8087bdca264af7ab8e0345d 100644 --- a/python/paddle/fluid/layers/loss.py +++ b/python/paddle/fluid/layers/loss.py @@ -1681,11 +1681,6 @@ from .control_flow import equal def npair_loss(anchor, positive, labels, l2_reg=0.002): ''' - :alias_main: paddle.nn.functional.npair_loss - :alias: paddle.nn.functional.npair_loss,paddle.nn.functional.loss.npair_loss - :old_api: paddle.fluid.layers.npair_loss - - **Npair Loss Layer** Read `Improved Deep Metric Learning with Multi class N pair Loss Objective\