Skip to content
Snippets Groups Projects
Commit e75b2e0c authored by Hammouda Elbez's avatar Hammouda Elbez :computer:
Browse files

Fixed Conv Layer

parent 454563be
No related branches found
No related tags found
No related merge requests found
......@@ -272,10 +272,10 @@ void _priv::DenseImpl::train(const std::vector<Spike>& input_spike, const Tensor
for(size_t x=0; x<_model._filter_width; x++) {
for(size_t y=0; y<_model._filter_height; y++) {
for(size_t zi=0; zi<_model._input_depth; zi++) {
// if(_model._cropedVector.at(x, y, zi, z) != 1){
if(_model._cropedVector.at(x, y, zi, z) != 1){
w.at(x, y, zi, z) = _model._stdp->process(w.at(x, y, zi, z), input_time.at(x, y, zi), spike.time);
_model.synaptic_updates+=1;
//}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment