Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml-explore/mlx-examples
/ encode
Method
encode
cvae/vae.py:168–169 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
166
return
x, mu, logvar
167
168
def
encode(self, x):
169
return
self.encoder(x)[0]
170
171
def
decode(self, z):
172
return
self.decoder(z)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected