MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / forward

Method forward

semantic_sam/body/decoder/modules.py:169–172  ·  view source on GitHub ↗
(self, tgt)

Source from the content-addressed store, hash-verified

167 return tgt
168
169 def forward(self, tgt):
170 if self.normalize_before:
171 return self.forward_pre(tgt)
172 return self.forward_post(tgt)
173
174
175def _get_activation_fn(activation):

Callers

nothing calls this directly

Calls 2

forward_preMethod · 0.95
forward_postMethod · 0.95

Tested by

no test coverage detected