mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/input/audio
padOrTrimFrames
Function padOrTrimFrames
padOrTrimFrames
(
mel
:
MlxArray
,
length
:
number
,
dtype
:
Dtype
)
:
MlxArray
pad_or_trim along the frame axis to
length
frames (zeros on the right).
Parameters
mel
:
MlxArray
length
:
number
dtype
:
Dtype
Returns
MlxArray
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
pad_or_trim along the frame axis to
lengthframes (zeros on the right).