mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/models/gemma4/blocks
GemmaMlpWeights
Class GemmaMlpWeights
Stored MLP projections. Each operation view names its activation literally.
Hierarchy (
View Summary
)
GegluMLP
GemmaMlpWeights
Index
Constructors
constructor
Properties
compiled
down
gate
up
Methods
forward
Constructors
constructor
new
GemmaMlpWeights
(
weights
:
Weights
,
config
:
ModelConfig
,
prefix
:
string
,
)
:
GemmaMlpWeights
Parameters
weights
:
Weights
config
:
ModelConfig
prefix
:
string
Returns
GemmaMlpWeights
Properties
Readonly
compiled
compiled
:
boolean
Readonly
down
down
:
QuantizedLinear
Readonly
gate
gate
:
QuantizedLinear
Readonly
up
up
:
QuantizedLinear
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
compiled
down
gate
up
Methods
forward
Documentation
mlx-bun library API
Loading...
Stored MLP projections. Each operation view names its activation literally.