(self, model_type)
| 148 | ] |
| 149 | |
| 150 | def __init__(self, model_type): |
| 151 | super().__init__() |
| 152 | assert (model_type in self.MODEL_TYPES_ISL) |
| 153 | model, _ = load_model(model_type) |
| 154 | self.model = model |
| 155 | self.model.train = disabled_train |
| 156 | |
| 157 | def forward(self, x): |
| 158 | # x in 0..1 as produced by calling self.transform on a 0..1 float64 numpy array |
nothing calls this directly
no test coverage detected