MCPcopy Create free account
hub / github.com/drinkingcoder/FlowFormer-Official / __init__

Method __init__

core/FlowFormer/common.py:336–342  ·  view source on GitHub ↗
(self, in_dim=22, out_dim=1, innter_dim=96, depth=5)

Source from the content-addressed store, hash-verified

334
335class MLP(nn.Module):
336 def __init__(self, in_dim=22, out_dim=1, innter_dim=96, depth=5):
337 super().__init__()
338 self.FC1 = nn.Linear(in_dim, innter_dim)
339 self.FC_out = nn.Linear(innter_dim, out_dim)
340 self.relu = torch.nn.LeakyReLU(0.2)
341 self.FC_inter = nn.ModuleList(
342 [nn.Linear(innter_dim, innter_dim) for i in range(depth)])
343
344 def forward(self, x):
345 x = self.FC1(x)

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected