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

Method forward_plugin

segmentation/backbones/resnet.py:245–250  ·  view source on GitHub ↗

Forward function for plugins.

(self, x, plugin_names)

Source from the content-addressed store, hash-verified

243 return plugin_names
244
245 def forward_plugin(self, x, plugin_names):
246 """Forward function for plugins."""
247 out = x
248 for name in plugin_names:
249 out = getattr(self, name)(x)
250 return out
251
252 @property
253 def norm1(self):

Callers 2

_inner_forwardMethod · 0.95
_inner_forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected