def set_vae(self, net_name):
        """Builds the variational autoencoder network for pretraining."""
        self.net_name = net_name
        self.vae_net = build_autoencoder(self.net_name)  # VAE for pretraining
Builds the variational autoencoder network for pretraining.
adbench/baseline/DeepSAD/src/baselines/SemiDGM.py