Skip to content

Question about LayerNorm calculation #1089

Answered by jheek
bhchiang asked this question in Q&A
Discussion options

You must be logged in to vote

I think we should be a little careful here to avoid reducing over axes that actually aren't spatial dims. To me it would make most sense if axis is an constructor argument with default value -1. Feel free to file a PR or issue for this.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bhchiang
Comment options

@jheek
Comment options

Answer selected by marcvanzee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants