class_docstr: Glow generative model.
  
  Reference: https://arxiv.org/abs/1807.03039
class_docstr_tok: ["Glow","generative","model",".","Reference",":","https",":","\/\/arxiv.org\/abs\/1807.03039"]
docstr: Objective based on the prior over latent z.
  
  Returns:
    dist: instance of tfp.distributions.Normal, prior distribution.
docstr_tok: ["Objective","based","on","the","prior","over","latent","z",".","Returns",":","dist",":","instance","of","tfp.distributions.Normal",",","prior","distribution","."]
code: def top_prior(self):
      """Objective based on the prior over latent z.
  
      Returns:
        dist: instance of tfp.distributions.Normal, prior distribution.
      """
      return glow_ops.top_prior(
          "top_prior",
          self.z_top_shape,
          learn_prior=self.hparams.top_prior,
          temperature=self.temperature,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.layers import common_layers
  from tensor2tensor.models.research import glow_init_hook
  from tensor2tensor.models.research import glow_ops
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import t2t_model
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 8 for calling the Glow obj's underlying member method code with example usage: obj.top_prior() and returns: glow_ops