◆ ~IModulePlugin()
| virtual Mila::Dnn::Extensibility::IModulePlugin::~IModulePlugin |
( |
| ) |
|
|
virtualdefault |
◆ canHandle()
| virtual bool Mila::Dnn::Extensibility::IModulePlugin::canHandle |
( |
const std::string & | module_type | ) |
const |
|
pure virtual |
Check if this plugin handles the given module type.
◆ getInfo()
| virtual PluginInfo Mila::Dnn::Extensibility::IModulePlugin::getInfo |
( |
| ) |
const |
|
pure virtual |
◆ registerOperations()
Create module instance from archive.
- Parameters
-
| device_type | Device as string (Device::Cpu(), "Cuda") |
| precision | Precision as string ("float32", etc.) |
| archive | Archive to read from |
| module_name | Module name in archive |
| exec_context | Execution context (type-erased) |
- Returns
- Type-erased module pointer
Register backend compute operations
Called when plugin is loaded to register operations with the compute backend (similar to how you register operations now).
The documentation for this class was generated from the following file: