-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add param_axis argument to RMSNorm to allow setting scale param shape.
Note: This is mostly a direct fork from the feature in RMSNorm. PiperOrigin-RevId: 488655300
- Loading branch information
1 parent
dbc0b1f
commit a4998a0
Showing
3 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -910,6 +910,7 @@ hk_py_library( | |
deps = [ | ||
":base", | ||
":initializers", | ||
":layer_norm", | ||
":module", | ||
# pip: jax | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters