(self, in_features, out_features, n_time_in)
| 142 | |
| 143 | class _sEncoder(nn.Module): |
| 144 | def __init__(self, in_features, out_features, n_time_in): |
| 145 | super(_sEncoder, self).__init__() |
| 146 | layers = [nn.Dropout(p=0.5), |
| 147 | nn.Linear(in_features=in_features, out_features=out_features), |
| 148 | nn.ReLU()] |
| 149 | self.encoder = nn.Sequential(*layers) |
| 150 | self.repeat = RepeatVector(repeats=n_time_in) |
| 151 | |
| 152 | def forward(self, x): |
| 153 | # Encode and repeat values to match time |
nothing calls this directly
no test coverage detected