Skip to content

Commit da2575e

Browse files
getNewBias
1 parent 0147b40 commit da2575e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/network/aika/neuron/INeuron.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,16 @@ public void setBias(double b) {
736736
}
737737

738738

739+
public void updateBiasDelta(double biasDelta) {
740+
this.biasDelta += biasDelta;
741+
}
742+
743+
744+
public double getNewBias() {
745+
return bias + biasDelta;
746+
}
747+
748+
739749
public void register(Activation act) {
740750
Document doc = act.getDocument();
741751

0 commit comments

Comments
 (0)