refactored propagation
This commit is contained in:
1 parent
8749b3eb03
commit
77b38dec65
19 files changed
+285
-548
No files matched your search
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user