Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-examples
/ encode
Function
encode
encodec/example.py:22–23 ·
view source on GitHub ↗
(feats, mask)
Source
from the content-addressed store, hash-verified
20
# compression but lower reconstruction quality.
21
@mx.compile
22
def
encode(feats, mask):
23
return
model.encode(feats, mask, bandwidth=3)
24
25
26
# Decode to reconstruct the audio
Callers
1
example.py
File · 0.85
Calls
1
encode
Method · 0.45
Tested by
no test coverage detected