code: def p_images_given_latents(gen_params, images, latents):
      preds = neural_net_predict(gen_params, latents)
      return bernoulli_log_density(images, preds)
  
imports: from __future__ import absolute_import, division
  from __future__ import print_function
  import autograd.numpy
  import autograd.numpy.random
  import autograd.scipy.stats.norm
  from autograd.scipy.special import expit
  from autograd import grad
  from autograd.misc.optimizers import adam
  from data import load_mnist, save_images
label_desc: Use image node_id 11 for calling a global function with example usage: p_images_given_latents(gen_params, images, latents) and returns: bernoulli_log_density