(self, x)
| 102 | self.drop = nn.Dropout(p_dropout_fc) if dropout else nn.Identity() |
| 103 | |
| 104 | def forward(self, x): |
| 105 | x = self.fc(x) |
| 106 | x = self.act(x) |
| 107 | x = self.drop(x) |
| 108 | return x |
| 109 | |
| 110 | class Categorical_encoding(nn.Module): |
| 111 | def __init__(self, taxonomy_in=3, embedding_dim=128, depth=1, act_fct='relu', dropout=True, p_dropout=0.25): |
nothing calls this directly
no outgoing calls
no test coverage detected