MCPcopy Create free account
hub / github.com/ml-explore/mlx / softplus

Function softplus

benchmarks/python/comparative/bench_mlx.py:192–196  ·  view source on GitHub ↗
(x: mx.array)

Source from the content-addressed store, hash-verified

190
191
192def softplus(x: mx.array):
193 y = x
194 for i in range(100):
195 y = nn.softplus(y)
196 mx.eval(y)
197
198
199def mish(x: mx.array):

Callers

nothing calls this directly

Calls 1

evalMethod · 0.45

Tested by

no test coverage detected