MCPcopy Create free account
hub / github.com/FidoProject/Fido / resetNetworkVectors

Method resetNetworkVectors

src/SGDTrainer.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95
96void SGDTrainer::resetNetworkVectors(net::NeuralNet *network) {
97 initialWeights = network->getWeights3D();
98
99 weightChanges.clear();
100
101 finalWeights.clear();
102 gradients.clear();
103}
104
105
106void SGDTrainer::store(std::ofstream *out) {

Callers

nothing calls this directly

Calls 1

getWeights3DMethod · 0.80

Tested by

no test coverage detected