Phase 0 — spread-aware API ported to nisps-core C++: - MLP::DrawWeightsSpread(T spread) — interpolate uniform↔Xavier per layer - MLP::MoveWeightsSpread(T speed, T spread) — per-layer noise + weight decay - IML::randomise_weights(Float spread) and IML::move_weights(speed, spread) - 5 unit tests (10/10 total pass) Phase 1 — VCV Rack 2 plugin skeleton: - Makefile with C++20, nisps-core include path - plugin.json manifest - Empty MEMLNaut module: 2 inputs, 12 outputs, placeholder SVG panel - static_assert verifies nisps-core headers resolve - C++20 confirmed working in VCV SDK (8 existing plugins use it)
11 lines
160 B
C++
11 lines
160 B
C++
#include "plugin.hpp"
|
|
|
|
Plugin* pluginInstance;
|
|
|
|
extern Model* modelMEMLNaut;
|
|
|
|
void init(Plugin* p) {
|
|
pluginInstance = p;
|
|
|
|
p->addModel(modelMEMLNaut);
|
|
}
|