Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/NeuralNet/ActivationFunctions/Softsign/Softsign.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class Softsign implements ActivationFunction, IBufferDerivative
*/
public function activate(NDArray $input) : NDArray
{
// Calculate |x|
Copy link
Member

@andrewdalpino andrewdalpino Aug 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, but what about the rest of the comments? I might have not been as clear as I could have in my review, sorry for that, but I meant it to apply to all of these types of comments in this class and any similar class not just the one on this line.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, please re-view

$absInput = NumPower::abs($input);

// Calculate 1 + |x|
Expand Down
Loading