Skip to content

Commit ad32bd1

Browse files
authored
[Paddle Hackathon No.11] (#291)
* Create 20220707_api_design_for_multi_margin_loss.md * Update 20220707_api_design_for_multi_margin_loss.md * Update 20220707_api_design_for_multi_margin_loss.md * Update 20220707_api_design_for_multi_margin_loss.md * Update 20220707_api_design_for_multi_margin_loss.md * Update 20220707_api_design_for_multi_margin_loss.md
1 parent 936e5a9 commit ad32bd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rfcs/APIs/20220707_api_design_for_multi_margin_loss.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ tensorflow没有专门的multimarginloss
146146
- paddle.nn.MultiMarginLoss(
147147
p:int = 1,
148148
margin:float=1.0,
149-
weight (Tensor,可选),
150-
reduction(str,可选),
149+
weight=None,
150+
reduction='mean',
151+
name=None,
151152
) -> None:
152153

153154
## 底层OP设计

0 commit comments

Comments
 (0)