-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/transfermech_and_fct/clip_scale_offset (#3171)
• transferfunctions.py: - TransferFunction: add _set_bounds() to be compatible with any assignments to scale and/or offset - Logistic(): modify offset to be vertical vs. horizontal • transfermechanism.py: - clip: add setter, which checks against bounds of function • test_transfer_mechanism.py: - add test_clip_with_respect_to_fct_bounds() --------- Co-authored-by: jdcpni <pniintel55>
- Loading branch information
Showing
8 changed files
with
235 additions
and
112 deletions.
There are no files selected for viewing
165 changes: 111 additions & 54 deletions
165
psyneulink/core/components/functions/nonstateful/transferfunctions.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters