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

Method forward

selfpatch_vision_transformer.py:48–49  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

46 self.drop_prob = drop_prob
47
48 def forward(self, x):
49 return drop_path(x, self.drop_prob, self.training)
50
51
52class Mlp(nn.Module):

Callers

nothing calls this directly

Calls 1

drop_pathFunction · 0.70

Tested by

no test coverage detected