Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logsoftmax.py #4041

Merged
merged 20 commits into from
Jan 5, 2021
Merged

Update logsoftmax.py #4041

merged 20 commits into from
Jan 5, 2021

Conversation

Ziheng-ZHAO
Copy link
Contributor

@Ziheng-ZHAO Ziheng-ZHAO commented Dec 25, 2020

概述

添加 logsoftmax函数:
公式为:
截屏2020-12-29 上午11 05 24

导数公式为:
截屏2020-12-29 上午11 06 05

Copy link
Contributor

@MARD1NO MARD1NO left a comment

Choose a reason for hiding this comment

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

PR 参考 https://github.com/Oneflow-Inc/oneflow/blob/master/.github/PULL_REQUEST_TEMPLATE/op_template.md 增加内容
#3972 可以参考这个PR,增加 前向公式,反向求导公式

@Ziheng-ZHAO Ziheng-ZHAO marked this pull request as ready for review December 29, 2020 04:39
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 30, 2020 08:01
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 31, 2020 05:08
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 31, 2020 05:19
@oneflow-ci-bot oneflow-ci-bot removed their request for review January 4, 2021 07:37
@MARD1NO MARD1NO requested a review from oneflow-ci-bot January 4, 2021 10:53
@oneflow-ci-bot oneflow-ci-bot removed their request for review January 4, 2021 11:27
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 4, 2021 15:26
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 4, 2021 18:36
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 5, 2021 04:03
@MARD1NO MARD1NO requested a review from oneflow-ci-bot January 5, 2021 07:14
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 5, 2021 09:56
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot January 5, 2021 13:02
@oneflow-ci-bot oneflow-ci-bot merged commit 9a6a923 into master Jan 5, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the Ziheng-ZHAO-patch-4 branch January 5, 2021 15:50
liujuncheng pushed a commit that referenced this pull request Jun 3, 2021
* Update nn_ops.py

* Add files via upload

* fix

* fix test tolerance

* Update test_logsoftmax.py

* Update nn_ops.py

* Update nn_ops.py

* Update test_logsoftmax.py

* fix format

* fix

* fix test case

Co-authored-by: MARD1NO <359521840@qq.com>
Co-authored-by: ZZK <42901638+MARD1NO@users.noreply.github.com>
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Former-commit-id: 9a6a923
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants