Skip to content

[docs] Some activation functions are missing images #65368

@rodrigoberriel

Description

@rodrigoberriel

📚 Documentation

In #5457, images were introduced in the pages of each activation functions. Now, there are a few of them that are missing their images:

Three of them are already in the build_activation_images.py. So, the fix is really simple: add the other two to the script and fix the docstrings of all these 5 functions.

If this is of interest, I could send this PR: rodrigoberriel@aee963c

Lastly, I didn't change it, but I guess we could remove the line below, because of this discussion in #5457. If so, I can update when sending the PR.

# 'Threshold' Omit, pending cleanup. See PR5457

I didn't open the PR directly because I guess this is the correct workflow. Please, let me know if I need to open an issue for this kind of straightforward doc change.

cc @brianjo @mruberry @albanD @jbschlosser @walterddr @ssnl

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: docsRelated to our documentation, both in docs/ and docblocksmodule: nnRelated to torch.nntriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions