docstr: Tests that the parameters of the LSTM are shared across time.
docstr_tok: ["Tests","that","the","parameters","of","the","LSTM","are","shared","across","time","."]
code: def testBasicLstm(self):
      """Tests that the parameters of the LSTM are shared across time."""
      with tf.Graph().as_default():
          state = None
          for _ in range(10):
              inputs = tf.random_uniform(shape=(32, 16))
              _, state = common_video.basic_lstm(
                  inputs, state, num_units=100, name="basic"
              )
          num_params = np.sum(
              [np.prod(v.shape) for v in tf.trainable_variables()]
          )
          # 4 * ((100 + 16)*100 + 100) => 4 * (W_{xh} + W_{hh} + b)
          self.assertEqual(num_params, 46800)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from tensor2tensor.layers import common_video
  from tensor2tensor.utils import test_utils
  import tensorflow.compat.v1
label_desc: Use image node_id 11 for calling the CommonVideoTest obj's underlying member method code with example usage: obj.testBasicLstm() without return types