MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / forward

Method forward

encoders/dinov2/layers/mlp.py:34–40  ·  view source on GitHub ↗
(self, x: Tensor)

Source from the content-addressed store, hash-verified

32 self.drop = nn.Dropout(drop)
33
34 def forward(self, x: Tensor) -> Tensor:
35 x = self.fc1(x)
36 x = self.act(x)
37 x = self.drop(x)
38 x = self.fc2(x)
39 x = self.drop(x)
40 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected