conversion
Eagle conversion/restore utilities.
Functions
Convert the model to a eagle model as per config. |
|
Function for restoring a previously convert model to a eagle model. |
- convert_to_eagle_model(model, config)
Convert the model to a eagle model as per config.
- Parameters:
model (Module) –
config (EagleConfig) –
- Return type:
Tuple[Module, Dict[str, Any]]
- restore_eagle_model(model, config, metadata)
Function for restoring a previously convert model to a eagle model.
- Parameters:
model (Module) –
config (EagleConfig) –
metadata (Dict[str, Any]) –
- Return type:
Module