class_docstr: Base helper class for next frame tests.
code: def TestVideoModel(
      self,
      in_frames,
      out_frames,
      hparams,
      model,
      expected_last_dim,
      upsample_method="conv2d_transpose",
  ):
      hparams = fill_hparams(hparams, in_frames, out_frames)
      hparams.upsample_method = upsample_method
  
      features = create_basic_features(in_frames, out_frames)
      output = self.RunModel(model, hparams, features)
  
      targets = features["targets"]
      expected_shape = get_tensor_shape(targets) + (expected_last_dim,)
      self.assertEqual(output.shape, expected_shape)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.data_generators import video_generated
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 3 for calling the BaseNextFrameTest obj's underlying member method code with example usage: obj.TestVideoModel(in_frames, out_frames, hparams, model, expected_last_dim, upsample_method) without return types