Skip to content

Conversation

@mmjb
Copy link
Contributor

@mmjb mmjb commented Sep 18, 2020

Implementation of Graph Norm (https://arxiv.org/pdf/2009.03294.pdf).

@mmjb mmjb requested a review from mallamanis September 20, 2020 08:40
self._dense_every_num_layers = params["dense_every_num_layers"]
self._residual_every_num_layers = params["residual_every_num_layers"]
self._use_inter_layer_layernorm = params["use_inter_layer_layernorm"]
self._use_graphnorm = params.get("use_graphnorm") or False

Choose a reason for hiding this comment

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

Would it maybe make sense to add something like

assert not (self._use_graphnorm and self._use_inter_layer_layernorm), "Using layer normalization and graph normalization should not be used together."

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.

3 participants