|
Mila 0.13.48
Deep Neural Network Library
|
Placeholder: create a component instance from archive.
Placeholder: create a component instance from archive.Full instantiation requires dispatching on both component kind and on-archive precision and is currently unimplemented. This method demonstrates the scoped read pattern and throws on invocation.
Implementation Strategy:
| archive | ModelArchive containing serialized component |
| component_name | Name of component to instantiate |
| exec_context | Execution context for the component |
| std::runtime_error | Always throws - dispatch not yet implemented |
usage pattern: