Base class for samplers
Abstract class.
This is the base Sampler architecture module from which all future samplers should inherit. All samplers are adapted from the Pythae’s samplers implementation for multimodal vaes.
- class multivae.samplers.BaseSampler(model, sampler_config=None)[source]
Base class for samplers used to generate from the MultiVae models’ joint latent spaces.
- Parameters:
model (BaseMultivae) – The model to sample from.
sampler_config (BaseSamplerConfig) – An instance of BaseSamplerConfig in which any sampler’s parameters is made available. If None a default configuration is used. Default: None