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"]
code: def train_hooks(hook_context):
      del hook_context
      return [glow_init_hook.GlowInitHook()]
  
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 7 for calling the Glow obj's underlying member method code with example usage: obj.train_hooks(hook_context) and returns: list