Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ tanh
Function
tanh
mla/neuralnet/activations.py:34–35 ·
view source on GitHub ↗
(z)
Source
from the content-addressed store, hash-verified
32
33
34
def
tanh(z):
35
return
np.tanh(z)
36
37
38
def
relu(z):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected