(self, input_dims, output_dim)
| 144 | |
| 145 | class Preprocessing(torch.nn.Module): |
| 146 | def __init__(self, input_dims, output_dim): |
| 147 | super(Preprocessing, self).__init__() |
| 148 | self.input_dims = input_dims |
| 149 | self.output_dim = output_dim |
| 150 | |
| 151 | self.preprocessing_modules = torch.nn.ModuleList() |
| 152 | for input_dim in input_dims: |
| 153 | module = MeanMapper(output_dim) |
| 154 | self.preprocessing_modules.append(module) |
| 155 | |
| 156 | def forward(self, features): |
| 157 | _features = [] |
nothing calls this directly
no test coverage detected