Load model weights from file. Args: config: experiment config. Returns: Dictionary of model weights.
(cls, config: ml_collections.ConfigDict)
| 166 | |
| 167 | @classmethod |
| 168 | def load_weights(cls, config: ml_collections.ConfigDict) -> Dict[str, Any]: |
| 169 | """Load model weights from file. |
| 170 | |
| 171 | Args: |
| 172 | config: experiment config. |
| 173 | |
| 174 | Returns: |
| 175 | Dictionary of model weights. |
| 176 | """ |
| 177 | raise NotImplementedError |
| 178 | |
| 179 | @classmethod |
| 180 | def make_output_postprocess_fn( |
no outgoing calls