mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/artifacts
WeightsNativeBindings
Interface WeightsNativeBindings
interface
WeightsNativeBindings
{
freeArrayMap
(
handle
:
bigint
)
:
void
;
freeStringMap
(
handle
:
bigint
)
:
void
;
loadSafetensors
(
arrayMapSlot
:
BigUint64Array
,
metadataMapSlot
:
BigUint64Array
,
path
:
string
,
)
:
number
;
newArrayMap
()
:
bigint
;
newStringMap
()
:
bigint
;
}
Index
Methods
free
Array
Map
free
String
Map
load
Safetensors
new
Array
Map
new
String
Map
Methods
free
Array
Map
freeArrayMap
(
handle
:
bigint
)
:
void
Parameters
handle
:
bigint
Returns
void
free
String
Map
freeStringMap
(
handle
:
bigint
)
:
void
Parameters
handle
:
bigint
Returns
void
load
Safetensors
loadSafetensors
(
arrayMapSlot
:
BigUint64Array
,
metadataMapSlot
:
BigUint64Array
,
path
:
string
,
)
:
number
Parameters
arrayMapSlot
:
BigUint64Array
metadataMapSlot
:
BigUint64Array
path
:
string
Returns
number
new
Array
Map
newArrayMap
()
:
bigint
Returns
bigint
new
String
Map
newStringMap
()
:
bigint
Returns
bigint
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
free
Array
Map
free
String
Map
load
Safetensors
new
Array
Map
new
String
Map
Documentation
mlx-bun library API
Loading...