mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 10:26:56 +08:00
NPY loading segfault bug (#34)
* Fixed Gil semantics in loading and saving from python file streams
This commit is contained in:
@@ -33,7 +33,7 @@ def silu(x):
|
||||
|
||||
|
||||
def gelu(x):
|
||||
"""Applies the Gaussian Error Linear Units function.
|
||||
r"""Applies the Gaussian Error Linear Units function.
|
||||
|
||||
.. math::
|
||||
\\textrm{GELU}(x) = x * \Phi(x)
|
||||
|
Reference in New Issue
Block a user