mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/layers
LayerNorm
Class LayerNorm
mlx nn.LayerNorm (weight + bias affine — starcoder2's norm).
Index
Constructors
constructor
Properties
bias
eps
weight
Methods
forward
Constructors
constructor
new
LayerNorm
(
weight
:
MlxArray
,
bias
:
MlxArray
|
null
,
eps
:
number
)
:
LayerNorm
Parameters
weight
:
MlxArray
bias
:
MlxArray
|
null
eps
:
number
Returns
LayerNorm
Properties
Readonly
bias
bias
:
MlxArray
|
null
Readonly
eps
eps
:
number
Readonly
weight
weight
:
MlxArray
Methods
forward
forward
(
x
:
MlxArray
)
:
MlxArray
Parameters
x
:
MlxArray
Returns
MlxArray
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bias
eps
weight
Methods
forward
Documentation
mlx-bun library API
Loading...
mlx nn.LayerNorm (weight + bias affine — starcoder2's norm).