Original function:
def _build_adversarial(self): #construct VAE # For vae all layers are trainable self.set_trainable(self.encode