Most changes come from following best practices and API changes, but I do have the folowing doubt: Why is z_log_var multiplied by 0.5 in the 2nd edition class? Is it because a difference between tf.exp() and tf.keras.backend.exp()? Is it becasue reducing it by half yields better results? Any other reason?
In the 2nd edition notebook of chapter 12 part 4, the latent space sampling layer is defined as the following class:
In the 1st edition, it's defined as the following fucntion:
Most changes come from following best practices and API changes, but I do have the folowing doubt: Why is
z_log_var
multiplied by 0.5 in the 2nd edition class? Is it because a difference between tf.exp() and tf.keras.backend.exp()? Is it becasue reducing it by half yields better results? Any other reason?