You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/18 03:33:23 UTC
[GitHub] [incubator-mxnet] nihui opened a new pull request #18955: Fix instancenorm math equation
nihui opened a new pull request #18955:
URL: https://github.com/apache/incubator-mxnet/pull/18955
The actual code applies epsilon addtion before square root, so fix the math equation
reference src/operator/instance_norm-inl.h
```
Assign(
out, req[instance_norm::kOut],
broadcast<0>(reshape(repmat(gamma, n), Shape1(n * c)), out.shape_) *
(data - broadcast<0>(mean, data.shape_)) /
F<mshadow_op::square_root>(
broadcast<0>(var + param_.eps, data.shape_)) +
broadcast<0>(reshape(repmat(beta, n), Shape1(n * c)), out.shape_));
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] marcoabreu merged pull request #18955: Fix instancenorm math equation
Posted by GitBox <gi...@apache.org>.
marcoabreu merged pull request #18955:
URL: https://github.com/apache/incubator-mxnet/pull/18955
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #18955: Fix instancenorm math equation
Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #18955:
URL: https://github.com/apache/incubator-mxnet/pull/18955#issuecomment-675229124
Hey @nihui , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:
- To trigger all jobs: @mxnet-bot run ci [all]
- To trigger specific jobs: @mxnet-bot run ci [job1, job2]
***
**CI supported jobs**: [windows-cpu, unix-gpu, unix-cpu, website, windows-gpu, clang, centos-cpu, centos-gpu, miscellaneous, sanity, edge]
***
_Note_:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org