mirror of
https://github.com/dragen1860/TensorFlow-2.x-Tutorials.git
synced 2021-05-12 18:32:23 +03:00
@@ -81,7 +81,7 @@ class VAE(keras.Model):
|
||||
|
||||
eps = tf.random.normal(log_var.shape)
|
||||
|
||||
std = tf.exp(log_var*0.5)
|
||||
std = tf.exp(log_var)**0.5
|
||||
|
||||
z = mu + std * eps
|
||||
return z
|
||||
|
||||
Reference in New Issue
Block a user