mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/layers
CompiledResidualRMSNorm
Class CompiledResidualRMSNorm
Residual addition and weighted normalization, preserving both rounding steps.
Index
Constructors
constructor
Properties
eps
weight
Methods
forward
Constructors
constructor
new
CompiledResidualRMSNorm
(
weight
:
MlxArray
,
eps
:
number
,
)
:
CompiledResidualRMSNorm
Parameters
weight
:
MlxArray
eps
:
number
Returns
CompiledResidualRMSNorm
Properties
Readonly
eps
eps
:
number
Readonly
weight
weight
:
MlxArray
Methods
forward
forward
(
x
:
MlxArray
,
update
:
MlxArray
)
:
[
MlxArray
,
MlxArray
]
Parameters
x
:
MlxArray
update
:
MlxArray
Returns
[
MlxArray
,
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...
Residual addition and weighted normalization, preserving both rounding steps.