NPY loading segfault bug (#34)

* Fixed Gil semantics in loading and saving from python file streams
This commit is contained in:
Jagrit Digani
2023-12-06 12:03:47 -08:00
committed by GitHub
parent 170e4b2d43
commit 2440fe0124
2 changed files with 79 additions and 12 deletions

View File

@@ -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)