mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/sampling
Sampler
Type Alias Sampler
Sampler
:
(
logprobs
:
MlxArray
,
step
:
number
)
=>
MlxArray
logprobs [1, V] → sampled token array (uint32, shape [1]).
Type Declaration
(
logprobs
:
MlxArray
,
step
:
number
)
:
MlxArray
Parameters
logprobs
:
MlxArray
step
:
number
Returns
MlxArray
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
logprobs [1, V] → sampled token array (uint32, shape [1]).