class_docstr: Tests various transformation utilities.
      
class_docstr_tok: ["Tests","various","transformation","utilities","."]
docstr: Tests :func:`texar.tf.data.make_chained_transformation`
          
docstr_tok: ["Tests",":","func",":","`","texar.tf.data.make_chained_transformation","`"]
code: def test_make_chained_transformation(self):
      """Tests :func:`texar.tf.data.make_chained_transformation`"""
      original_data = np.arange(0, 10)
      dataset = tf.data.Dataset.from_tensor_slices(original_data)
  
      def _tran_a(data):
          return data + 100
  
      def _tran_b(data):
          return data + 1000
  
      def _tran_c(data):
          return data + 10000
  
      chained_tran = dsutils.make_chained_transformation(
          [_tran_a, _tran_b, _tran_c]
      )
      dataset = dataset.map(chained_tran)
  
      iterator = dataset.make_one_shot_iterator()
      elem = iterator.get_next()
      with self.test_session() as sess:
          data_ = []
          while True:
              try:
                  data_.append(sess.run(elem))
              except tf.errors.OutOfRangeError:
                  break
          self.assertEqual(len(data_), len(original_data))
          data_ = [elem_ - 11100 for elem_ in data_]
          self.assertEqual(data_, original_data.tolist())
  
imports: import numpy
  import tensorflow
  from texar.tf.data.data import dataset_utils
label_desc: Use image node_id 1 for calling the TransformationTest obj's underlying member method code with example usage: obj.test_make_chained_transformation() and returns: unknown, unknown, unknown