class_docstr: Tests various connectors.
      
docstr: Tests the logic of
  :class:`~texar.tf.modules.connectors.MLPTransformConnector`.
docstr_tok: ["Tests","the","logic","of",":","class",":","`","~texar.tf.modules.connectors.MLPTransformConnector","`","."]
code: def test_mlp_transform_connector(self):
      """Tests the logic of
      :class:`~texar.tf.modules.connectors.MLPTransformConnector`.
      """
      connector = MLPTransformConnector(self._decoder_cell.state_size)
      output = connector(tf.zeros([5, 10]))
      nest.assert_same_structure(output, self._decoder_cell.state_size)
  
      with self.test_session() as sess:
          sess.run(tf.global_variables_initializer())
  
          output_ = sess.run(output)
          nest.assert_same_structure(
              output_, self._decoder_cell.state_size
          )
  
file_path: texar/tests/modules/connectors/connectors_test.py
imports: import tensorflow
  from tensorflow_probability import distributions
  from tensorflow.python.util import nest
  from texar.tf.core import layers
  from texar.tf.modules import ConstantConnector
  from texar.tf.modules import MLPTransformConnector
  from texar.tf.modules import ReparameterizedStochasticConnector, StochasticConnector
  from texar.tf.modules.connectors.connectors import _assert_same_size
label_desc: Use image node_id 4 for calling the TestConnectors obj's underlying member method code with example usage: obj.test_mlp_transform_connector() without return types