mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-25 01:41:19 +08:00
fix: typo in variable name
This commit is contained in:
parent
172a60056f
commit
4ed942d7f5
@ -257,7 +257,7 @@ class Autoencoder(nn.Module):
|
|||||||
|
|
||||||
def __call__(self, x, key=None):
|
def __call__(self, x, key=None):
|
||||||
x = self.encoder(x)
|
x = self.encoder(x)
|
||||||
x = self.query_proj(x)
|
x = self.quant_proj(x)
|
||||||
|
|
||||||
mean, logvar = x.split(2, axis=-1)
|
mean, logvar = x.split(2, axis=-1)
|
||||||
std = mx.exp(0.5 * logvar)
|
std = mx.exp(0.5 * logvar)
|
||||||
|
Loading…
Reference in New Issue
Block a user