|
My Project
|
CPU launcher specialization. More...
#include <unified_launcher.hpp>
Public Member Functions | |
| UnifiedLauncher ()=default | |
| template<int In, int Out, typename Activation > | |
| void | addLayer () |
| Add a layer to the CPU network. More... | |
| void | buildNetwork () |
| Finalize parameters and internal buffers. More... | |
| void | setData (const UnifiedDataset &data) |
| Attach the training/test dataset. More... | |
| void | train (UnifiedOptimizer< CpuBackend > &optimizer, const UnifiedConfig &config) |
| Run training for the selected optimizer. More... | |
| void | test () |
| Evaluate on test data. More... | |
| NetworkWrapper< CpuBackend > & | getWrapper () |
| Access the underlying wrapper. More... | |
CPU launcher specialization.
|
default |
|
inline |
Add a layer to the CPU network.
| In | Input dimension. |
| Out | Output dimension. |
| Activation | Activation function type. |
|
inline |
Finalize parameters and internal buffers.
Allocates memory for weights and gradients based on added layers.
|
inline |
Access the underlying wrapper.
|
inline |
Attach the training/test dataset.
| data | The UnifiedDataset containing train/test splits. |
|
inline |
Evaluate on test data.
Prints MSE and Accuracy metrics to stdout.
|
inline |
Run training for the selected optimizer.
| optimizer | The optimization strategy to use. |
| config | configuration parameters for the experiment. |
