New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

activation-functions

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activation-functions

Javascript implementation of some activation functions

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

activation-functions

GitHub package.json version npm GitHub issues GitHub license

Installation

From NPM

$ npm install activation-functions

Available Functions

// x is always considered to be in radians
.Identity(x)
.Inverse(x)
.BinaryStep(x)
.Bipolar(x)
.Logistic(x) | .Sigmoid(x) | .SoftStep(x)
.BipolarSigmoid(x)
.Tanh(x)
.HardTanh(x)
.ArcTan(x)
.ElliotSig(x) | .SoftSign(x)
.Erf(x)
.Sinc(x)
.Sinusoid(x)
.Gaussian(x)
.ISRU(x, a)
.ReLU(x)
.GELU(x)
.PReLU(x, a)
.ELU(x, a)
.SELU(x)
.SoftPlus(x)
.Mish(x)
.SQNL(x)
.BentIdentity(x)
.SiLU(x) | .Swish1(x)

Mish: Official Repsoitory

License

MIT

Keywords

machine-learning

FAQs

Package last updated on 30 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts