class_docstr: Tests HierarchicalRNNEncoder
      
code: def test_order(self):
      encoder = HierarchicalRNNEncoder()
  
      batch_size = 16
      max_major_time = 8
      max_minor_time = 6
      dim = 10
      inputs = tf.random_uniform(
          [batch_size, max_major_time, max_minor_time, dim],
          maxval=1,
          minval=-1,
          dtype=tf.float32,
      )
  
      outputs_1, state_1 = encoder(inputs, order="btu")
      outputs_2, state_2 = encoder(inputs, order="utb")
      outputs_3, state_3 = encoder(inputs, order="tbu")
      outputs_4, state_4 = encoder(inputs, order="ubt")
  
      with self.test_session() as sess:
          sess.run(tf.global_variables_initializer())
          sess.run(
              [
                  outputs_1,
                  state_1,
                  outputs_2,
                  state_2,
                  outputs_3,
                  state_3,
                  outputs_4,
                  state_4,
              ]
          )
  
file_path: texar/tests/modules/encoders/hierarchical_encoders_test.py
imports: import tensorflow
  from texar.tf.modules.encoders.hierarchical_encoders import HierarchicalRNNEncoder
label_desc: Use image node_id 3 for calling the HierarchicalRNNEncoderTest obj's underlying member method code with example usage: obj.test_order() without return types