small racing game im working on
Diffstat (limited to 'lib/activation.gd')
| -rw-r--r-- | lib/activation.gd | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/activation.gd b/lib/activation.gd deleted file mode 100644 index 1db7637..0000000 --- a/lib/activation.gd +++ /dev/null @@ -1,9 +0,0 @@ -class_name Activation - - -static func sigmoid(value: float, _row: int, _col: int) -> float: - return 1 / (1 + exp(-value)) - - -static func dsigmoid(value: float, _row: int, _col: int) -> float: - return value * (1 - value) |