mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-01 21:04:41 +08:00
Use compiled function in Sigmoid module (#1116)
This commit is contained in:
@@ -315,7 +315,7 @@ class GLU(Module):
|
||||
return glu(x=x, axis=self.axis)
|
||||
|
||||
|
||||
@_make_activation_module(mx.sigmoid)
|
||||
@_make_activation_module(sigmoid)
|
||||
class Sigmoid(Module):
|
||||
r"""Applies the sigmoid function, element-wise.
|
||||
|
||||
|
Reference in New Issue
Block a user