mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/input/vision
preprocessImage
Function preprocessImage
preprocessImage
(
bytes
:
Uint8Array
)
:
Promise
<
PreprocessedImage
>
Full pipeline: bytes → padded patch vectors + grid positions.
Parameters
bytes
:
Uint8Array
Returns
Promise
<
PreprocessedImage
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
Full pipeline: bytes → padded patch vectors + grid positions.