Skip to content

fix doc and example code of huber_loss and npair_loss#2718

Merged
jzhang533 merged 3 commits intoPaddlePaddle:developfrom
huangjun12:20RCDoc
Oct 8, 2020
Merged

fix doc and example code of huber_loss and npair_loss#2718
jzhang533 merged 3 commits intoPaddlePaddle:developfrom
huangjun12:20RCDoc

Conversation

@huangjun12
Copy link
Contributor

fix doc and example code of huber_loss and npair_loss

@paddle-bot-old
Copy link

Thanks for your contribution!

Copy link
Collaborator

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • huber_loss看起来不需要迁移。 (paddle.nn.functional.smooth_l1_loss 功能类似)
  • npair_loss 中的输入数据可以用paddle.rand构造。

@huangjun12
Copy link
Contributor Author

  • huber_loss看起来不需要迁移。 (paddle.nn.functional.smooth_l1_loss 功能类似)
  • npair_loss 中的输入数据可以用paddle.rand构造。

Done

Copy link
Collaborator

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jzhang533 jzhang533 merged commit ab4ae0f into PaddlePaddle:develop Oct 8, 2020
RichardWooSJTU pushed a commit to RichardWooSJTU/docs that referenced this pull request Apr 8, 2022
Fix 2 for 'Model predict with forward will fail if PIL image does not have filename attribute' PaddlePaddle#2702
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants