class_docstr: Extend Glow for video.
docstr: Get latent shape at level.
code: def get_z_top_shape(self, init=False):
      """Get latent shape at level."""
      if init:
          batch_size = self.hparams.init_batch_size
      else:
          batch_size = self.hparams.batch_size
      height, _, channels = self.hparams.problem.frame_shape
      n_levels = self.hparams.n_levels
      z_width = height // 2**n_levels
      z_channels = channels * 2**n_levels * 2
      return [batch_size, z_width, z_width, z_channels]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from six.moves import range
  from tensor2tensor.layers import common_layers
  from tensor2tensor.layers import common_video
  from tensor2tensor.layers import modalities
  from tensor2tensor.models.research import glow
  from tensor2tensor.models.research import glow_ops
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  import tensorflow_probability
label_desc: Use image node_id 10 for calling the NextFrameGlow obj's underlying member method code with example usage: obj.get_z_top_shape(init) and returns: list