Repository navigation
Fix ChainHiddenLayerAccessor set* methods to be function templates
The four set* methods in ChainHiddenLayerAccessor<LayerChain<...>> were non-template static functions, but recursive calls invoked them with ::template set*(...), requiring them to be function templates.
The get* methods in the same struct already used template.
Apply the same pattern to setBiasNeuronWeightForConnection, setBiasNeuronDeltaWeightForConnection, setWeightForNeuronAndConnection, and setDeltaWeightForNeuronAndConnection.
Add unit tests to prevent regression.