code: def testInputProjectionWrapper(self):
      with self.cached_session() as sess:
          with tf.variable_scope(
              "root", initializer=tf.constant_initializer(0.5)
          ):
              x = tf.zeros([1, 2])
              m = tf.zeros([1, 3])
              cell = contrib_rnn.InputProjectionWrapper(
                  rnn_cell.GRUCell(3), num_proj=3
              )
              g, new_m = cell(x, m)
              sess.run([tf.global_variables_initializer()])
              res = sess.run(
                  [g, new_m],
                  {
                      x.name: np.array([[1.0, 1.0]]),
                      m.name: np.array([[0.1, 0.1, 0.1]]),
                  },
              )
              self.assertEqual(res[1].shape, (1, 3))
              # The numbers in results were not calculated, this is just a smoke test.
              self.assertAllClose(
                  res[0], [[0.154605, 0.154605, 0.154605]]
              )
  
imports: import itertools
  from absl.testing import parameterized
  from magenta.contrib import rnn
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the RNNCellTest obj's underlying member method code with example usage: obj.testInputProjectionWrapper() without return types