From 4773869789a603af94d5d5791655bb7b41194fbc Mon Sep 17 00:00:00 2001 From: jdcpni Date: Thu, 2 Jan 2025 15:55:43 -0500 Subject: [PATCH] - --- psyneulink/core/compositions/composition.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/psyneulink/core/compositions/composition.py b/psyneulink/core/compositions/composition.py index e2755735cf..38627b7adb 100644 --- a/psyneulink/core/compositions/composition.py +++ b/psyneulink/core/compositions/composition.py @@ -332,12 +332,13 @@ *BIAS Nodes* ^^^^^^^^^^^^ -NodeRoles can be used to implement BIAS Nodes, which add a bias (constant value) to the input of another Node, that can -also be modified by `learning `. A bias Node is implemented by adding a `ProcessingMechanism` to -the Composition and requiring it to have the `BIAS` `NodeRole`. The ProcessingMechanims cannot have any afferent -Projections, and should project to the `InputPort` containing the array of values to be biased. If the bias(es) are -to be learned, the `learnable ` attribute of the MappingProjeciton should be set to True. -The value of the bias, and how it is applied to the arrays being biased are specified as described below: +`BIAS` `NodeRole` can be used to implement BIAS Nodes, which add a bias (constant value) to the input of another +Node, that can also be modified by `learning `. A bias Node is implemented by adding a +`ProcessingMechanism` to the Composition and requiring it to have the `BIAS` `NodeRole`. The ProcessingMechanims +cannot have any afferent Projections, and should project to the `InputPort` containing the values to be biased. If +the bias is to be learned, the `learnable ` attribute of the MappingProjeciton +should be set to True. The value of the bias, and how it is applied to the values being biased are specified as +described below: *Single bias value*. To apply a single scalar bias value to all elements of the array being biased, the `default_variable ` of the BIAS Node should be specified as a scalar value, and the `matrix