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

GPU implementation for layer normalization operator #8006

Merged

Conversation

chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Jan 31, 2018

fix #7987

  • Add GPU implementation
  • Unifid GPU and CPU implementation
  • Refine ElementwiseComputeEx's interface, making it more flexible.
  • Add unit test for scale and bias

There's too much content in this PR, and adding the unit test for scale and bias will be implemented in the next PR.

@chengduoZH chengduoZH force-pushed the feature/layer_norm_enhancement branch 5 times, most recently from 96b7645 to 601ca1e Compare February 3, 2018 04:25
@chengduoZH chengduoZH force-pushed the feature/layer_norm_enhancement branch 5 times, most recently from a41a6bb to d5fcfd1 Compare February 3, 2018 09:06
@chengduoZH chengduoZH force-pushed the feature/layer_norm_enhancement branch from d5fcfd1 to 5092f52 Compare February 5, 2018 03:39
@chengduoZH chengduoZH force-pushed the feature/layer_norm_enhancement branch 2 times, most recently from 113ea53 to 6773129 Compare February 8, 2018 11:31
Copy link
Contributor

@lcy-seso lcy-seso left a comment

Choose a reason for hiding this comment

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

LGMT

@lcy-seso lcy-seso merged commit 7dd994c into PaddlePaddle:develop Feb 9, 2018
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.

GPU implementation for layer normalization operator.
2 participants