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