Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Conversation

@LiuChiachi
Copy link

Upgrade the usage of sublayers, because incompatible upgrade occurred in the sublayers:

  • sublayers(self, include_sublayers=True) => sublayers(self, include_self=False)

Copy link

@JiabinYang JiabinYang left a comment

Choose a reason for hiding this comment

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

Some comments

self.add_sublayer(
"layer_norm_%d" % len(
self.sublayers(include_sublayers=False)),
self.sublayers(include_self=True)),

Choose a reason for hiding this comment

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

include_sublayers=False is a wrong usage and this should be removed instead of using include_self

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants