class_docstr: Utils for testing next_frame_glow.
class_docstr_tok: ["Utils","for","testing","next_frame_glow","."]
code: def should_run_session(self, hparams):
      # dilated conv-3d not available on CPU.
      return (
          tf.test.is_gpu_available()
          or not hparams.latent_apply_dilations
      )
  
file_path: tensor2tensor/tensor2tensor/models/video/nfg_test_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import tempfile
  import numpy
  from tensor2tensor.data_generators import video_generated
  from tensor2tensor.models.video import next_frame_glow
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 1 for calling the NextFrameGlowTest obj's underlying member method code with example usage: obj.should_run_session(hparams) and returns: unknown