[0, 1] -> raw latents
(x)
| 96 | |
| 97 | @staticmethod |
| 98 | def unscale_latents(x): |
| 99 | """[0, 1] -> raw latents""" |
| 100 | return x.sub(TinyAutoencoderKL.latent_shift).mul(2 * TinyAutoencoderKL.latent_magnitude) |
| 101 | |
| 102 | |
| 103 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected