Fine tuning, use stopbackward=1 in the cfg-file in that layer where Backward should be stopped.

This commit is contained in:
AlexeyAB
2018-01-05 00:58:52 +03:00
parent 9d23aad869
commit 9ac78d8b84
4 changed files with 6 additions and 0 deletions

View File

@ -218,6 +218,7 @@ void backward_network(network net, network_state state)
state.delta = prev.delta;
}
layer l = net.layers[i];
if (l.stopbackward) break;
l.backward(l, state);
}
}