• Skr.B's avatar
    Add New API nn.HingeEmbeddingLoss (#37540) · 3b85864a
    Skr.B 提交于
    * add hinge_embedding_loss
    
    * fix test_API
    
    * test_API succeed
    
    * add English doc
    
    * fixed using of expired fluid api
    
    * fix doc
    
    * fix doc and rm python/paddle/fluid/layers/loss.py
    
    * get raw python/paddle/fluid/layers/loss.py back
    
    * fix Examples bug in English doc
    
    * unique -> flatten
    
    * fix api code
    
    * fix English doc
    
    * fix functional loss English doc
    
    * fix Example doc
    
    * .numpy() -> paddle.unique()
    
    * fix unique
    
    * fix label_item_set
    
    * modified judgment equation
    
    * Got a beautiful loss equation
    
    * use paddle.to_tensor
    
    * fix loss and add static check
    
    * fix loss and add static check
    
    * delta -> margin
    3b85864a
loss.py 52.5 KB