def terminate_process(self, idf):
        try:
            p = self.q.pop(idf)
            p.terminate()
            return p
        except:
            return None
Assigns this `Conditional` instance to a VAE.
dataset/ETHPy150Open gapato/livestreamer-curses/src/livestreamer_curses/streamlist.py/ProcessList.terminate_process--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/vae/conditional.py/Conditional.set_vae