class_docstr: Basic next-frame model with a tiny discrete latent.
code: def save_internal_states_ops(self, internal_states):
      if not self.hparams.concat_internal_states:
          return [[tf.no_op()]]
      ops = [
          [tf.assign(x, y)]
          for x, y in zip(self.internal_states[0], internal_states[0])
      ]
      return ops
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.layers import common_attention
  from tensor2tensor.layers import common_layers
  from tensor2tensor.layers import common_video
  from tensor2tensor.layers import discretization
  from tensor2tensor.models.video import base_vae
  from tensor2tensor.models.video import basic_deterministic
  from tensor2tensor.models.video import basic_deterministic_params
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling the NextFrameBasicStochasticDiscrete obj's underlying member method code with example usage: obj.save_internal_states_ops(internal_states) and returns: ops, list