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

Method prune

src/Pruner.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void Pruner::prune(NeuralNet *network, Trainer *networkTrainer) {
21 prune(network, networkTrainer->getInitialWeights(), networkTrainer->getWeightChanges(), networkTrainer->getGradients());
22}
23
24void Pruner::prune(NeuralNet *network, const std::vector< std::vector< std::vector<double> > > &initialWeights, const std::vector< std::vector< std::vector< std::vector<double> > > > &weightChanges, const std::vector< std::vector< std::vector< std::vector<double> > > > &gradients) {
25

Callers 1

pruning.cppFile · 0.80

Calls 8

getInitialWeightsMethod · 0.80
getWeightChangesMethod · 0.80
numberOfHiddenNeuronsMethod · 0.80
getWeights3DMethod · 0.80
numberOfHiddenLayersMethod · 0.80
removeNeuronMethod · 0.80
getGradientsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected