mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-19 02:38:09 +08:00
Fix divide types + floor divide (//) (#138)
* divide types * fix black + test
This commit is contained in:
@@ -176,6 +176,8 @@ def selu(x):
|
||||
See also :func:`elu`.
|
||||
"""
|
||||
return elu(x, 1.67326) * 1.0507
|
||||
|
||||
|
||||
def prelu(x: mx.array, alpha: mx.array) -> mx.array:
|
||||
r"""Applies the element-wise function:
|
||||
|
||||
|
Reference in New Issue
Block a user