MCPcopy Create free account
hub / github.com/GeWu-Lab/AnyTouch2 / forward

Method forward

model/linear_probe.py:122–125  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

120 )
121
122 def forward(self, x):
123 x = self.pooler(x).squeeze(1)
124 x = self.probe(x)
125 return x
126
127class AttnHead(nn.Module):
128 def __init__(self, embed_dim, num_heads, mlp_ratio, depth, norm_layer, init_std, qkv_bias, complete_block, classes=3):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected