mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/layers
CompiledGatedRMSNorm
Class CompiledGatedRMSNorm
Weighted normalization followed by Qwen's float32 SiLU gate.
Index
Constructors
constructor
Properties
eps
weight
Methods
forward
Constructors
constructor
new
CompiledGatedRMSNorm
(
weight
:
MlxArray
,
eps
:
number
)
:
CompiledGatedRMSNorm
Parameters
weight
:
MlxArray
eps
:
number
Returns
CompiledGatedRMSNorm
Properties
Readonly
eps
eps
:
number
Readonly
weight
weight
:
MlxArray
Methods
forward
forward
(
x
:
MlxArray
,
gate
:
MlxArray
)
:
MlxArray
Parameters
x
:
MlxArray
gate
:
MlxArray
Returns
MlxArray
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
eps
weight
Methods
forward
Documentation
mlx-bun library API
Loading...
Weighted normalization followed by Qwen's float32 SiLU gate.