mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/contracts
TextEmbeddingModel
Interface TextEmbeddingModel
Returns unscaled text embeddings; the caller owns the returned tensor.
interface
TextEmbeddingModel
{
embed
:
{
encode
(
ids
:
MlxArray
)
:
MlxArray
}
;
}
Index
Properties
embed
Properties
Readonly
embed
embed
:
{
encode
(
ids
:
MlxArray
)
:
MlxArray
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
embed
Documentation
mlx-bun library API
Loading...
Returns unscaled text embeddings; the caller owns the returned tensor.