mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/models/qwen/written-layers
TrellisWeights
Class TrellisWeights
Index
Constructors
constructor
Properties
down
gate
prefix
state
up
Methods
dispose
keep
operation
targets
Constructors
constructor
new
TrellisWeights
(
weights
:
Weights
,
config
:
ModelConfig
,
prefix
:
string
,
representations
:
TrellisRepresentations
,
state
:
LoraState
,
)
:
TrellisWeights
Parameters
weights
:
Weights
config
:
ModelConfig
prefix
:
string
representations
:
TrellisRepresentations
state
:
LoraState
Returns
TrellisWeights
Properties
Readonly
down
down
:
TrellisLinear
Readonly
gate
gate
:
TrellisLinear
Readonly
prefix
prefix
:
string
Readonly
state
state
:
LoraState
Readonly
up
up
:
TrellisLinear
Methods
dispose
dispose
()
:
void
Returns
void
keep
keep
(
resource
:
{
dispose
()
:
void
}
)
:
void
Parameters
resource
:
{
dispose
()
:
void
}
Returns
void
operation
operation
(
plain
:
RowProjection
,
adapted
:
RowProjection
)
:
LoraOperation
Parameters
plain
:
RowProjection
adapted
:
RowProjection
Returns
LoraOperation
targets
targets
()
:
readonly
(
readonly
[
string
,
TrellisLinear
]
)
[]
Returns
readonly
(
readonly
[
string
,
TrellisLinear
]
)
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
down
gate
prefix
state
up
Methods
dispose
keep
operation
targets
Documentation
mlx-bun library API
Loading...