Skip to content

Sam 8 LeakyReLU #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: convert-activation-functions-to-numpower
Choose a base branch
from

Conversation

apphp
Copy link

@apphp apphp commented Jun 22, 2025

No description provided.

@apphp apphp changed the title Sam 8 Sam 8 LeakyReLU Jun 22, 2025
* @return NDArray Derivative matrix
*/
public function differentiate(NDArray $x) : NDArray;
public function differentiate(NDArray $output) : NDArray;

Choose a reason for hiding this comment

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

Это IBufferDerivative. первая буква I = Input. Интерфейс для поиска производной из входного значения функции активации. Соответственно метод поиска производной должен использовать $input, а не $output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants