Skip to content

Add additional activation functions #33

@mewilhel

Description

@mewilhel
  • tanhshrink(x) = x - tanh(x) (concavoconvex)
  • relu6(x) = min(max(0, x), 6) (convexoconcave)
  • mish(x) = x * tanh(softplus(x)) (mixed convexity)
  • lisht(x) = x * tanh(x)
  • hardtanh(x) = max(-1, min(1, x)) (softmax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions