MCPcopy Create free account
hub / github.com/alinlab/SelfPatch / norm2

Method norm2

segmentation/backbones/vit_SelfPatch.py:88–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86
87 @property
88 def norm2(self):
89 return getattr(self, self.norm2_name)
90
91 def forward(self, x):
92 x = self.attn(self.norm1(x), identity=x)

Callers 2

forwardMethod · 0.95
forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected