MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / norm2

Method norm2

detrsmpl/models/backbones/resnet.py:64–66  ·  view source on GitHub ↗

nn.Module: normalization layer after the second convolution layer

(self)

Source from the content-addressed store, hash-verified

62
63 @property
64 def norm2(self):
65 """nn.Module: normalization layer after the second convolution layer"""
66 return getattr(self, self.norm2_name)
67
68 def forward(self, x):
69 """Forward function."""

Callers 8

_inner_forwardMethod · 0.95
forward_postMethod · 0.45
forward_preMethod · 0.45
forward_postMethod · 0.45
forward_preMethod · 0.45
forward_ffnMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected