|
Mila 0.13.48
Deep Neural Network Library
|
Factory helpers for reconstructing built-in components from archives. More...
#include <string>#include <memory>#include <stdexcept>#include <format>import Dnn.ComponentType;import Serialization.Metadata;import Serialization.ModelArchive;import Compute.ExecutionContextTemplate;import Compute.DeviceType;Classes | |
| class | Mila::Dnn::ComponentFactory |
| Factory for reconstructing components from serialized archives. More... | |
Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
| namespace | Mila::Dnn |
Factory helpers for reconstructing built-in components from archives.
Provides helpers that read component-scoped metadata using the ModelArchive scoping API and SerializationMetadata abstraction. Full dispatch/instantiation is TODO and should use the scoped metadata to call the appropriate component fromArchive_() factory methods.