refactored propagation

This commit is contained in:
2016-10-31 15:03:27 +01:00
parent 8749b3eb03
commit 77b38dec65
19 changed files with 285 additions and 548 deletions

View File

@@ -67,6 +67,15 @@ namespace FeedForward {
return *neurons[neuron];
}
/**
* @brief This is a virtual function for selecting neuron
* @param neuron is position in layer
* @returns Specific neuron
*/
const NeuronInterface& operator[](const std::size_t& neuron) const {
return *neurons[neuron];
}
void solve(const std::vector<float> &input, std::vector<float> &output);
/**