code: def sampler(model, sampler_config):
      return GaussianMixtureSampler(
          model=model, sampler_config=sampler_config
      )
  
file_path: benchmark_VAE/tests/test_gaussian_mixture_sampler.py
imports: import os
  import numpy
  import pytest
  import torch
  from pythae.models import AE, VAE, AEConfig, VAEConfig
  from pythae.pipelines import GenerationPipeline
  from pythae.samplers import GaussianMixtureSampler, GaussianMixtureSamplerConfig, NormalSampler, NormalSamplerConfig
  from pythae.data.preprocessors import DataProcessor
label_desc: Use image node_id 4 for calling a global function with example usage: sampler(model, sampler_config) and returns: GaussianMixtureSampler