mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-12-22 15:06:47 +01:00
Fix infinite recursion.
This commit is contained in:
parent
5c7840850b
commit
567808a939
@ -1057,7 +1057,7 @@ Ref<MLPPVector> MLPPActivation::adj_softmax_derivv(const Ref<MLPPVector> &z) {
|
||||
|
||||
Ref<MLPPVector> n = alg.scalar_addnv(c, z);
|
||||
|
||||
return adj_softmax_derivv(n);
|
||||
return adj_softmax_normv(n);
|
||||
}
|
||||
Ref<MLPPMatrix> MLPPActivation::adj_softmax_derivm(const Ref<MLPPMatrix> &z) {
|
||||
MLPPLinAlg alg;
|
||||
|
Loading…
Reference in New Issue
Block a user