mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/models/glm52/mtp
Glm52MtpLayer
Interface Glm52MtpLayer
The MTP decoder layer (the layer after the target's last).
interface
Glm52MtpLayer
{
forwardAsync
(
input
:
MlxArray
,
cache
:
LatentAttentionCache
,
dsaState
:
null
,
reads
:
Glm52PhaseReads
,
)
:
Promise
<
MlxArray
>
;
}
Index
Methods
forward
Async
Methods
forward
Async
forwardAsync
(
input
:
MlxArray
,
cache
:
LatentAttentionCache
,
dsaState
:
null
,
reads
:
Glm52PhaseReads
,
)
:
Promise
<
MlxArray
>
Parameters
input
:
MlxArray
cache
:
LatentAttentionCache
dsaState
:
null
reads
:
Glm52PhaseReads
Returns
Promise
<
MlxArray
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
forward
Async
Documentation
mlx-bun library API
Loading...
The MTP decoder layer (the layer after the target's last).