(self, in_features, out_features, n_time_in)
| 156 | |
| 157 | class _sEncoder(nn.Module): |
| 158 | def __init__(self, in_features, out_features, n_time_in): |
| 159 | super(_sEncoder, self).__init__() |
| 160 | layers = [nn.Dropout(p=0.5), |
| 161 | nn.Linear(in_features=in_features, out_features=out_features), |
| 162 | nn.ReLU()] |
| 163 | self.encoder = nn.Sequential(*layers) |
| 164 | self.repeat = RepeatVector(repeats=n_time_in) |
| 165 | |
| 166 | def forward(self, x): |
| 167 | # Encode and repeat values to match time |
nothing calls this directly
no test coverage detected