code: def testComputationPaddingSame(self, with_bias):
      expected_out = [2, 3, 2]
      expected_out = np.asarray(expected_out, dtype=np.float32)
      if with_bias:
          expected_out += 1
  
      conv1 = conv_transpose.Conv1DTranspose(
          output_channels=1,
          output_shape=None,
          kernel_shape=3,
          stride=1,
          padding="SAME",
          with_bias=with_bias,
          **create_constant_initializers(1.0, 1.0, with_bias),
      )
  
      out = conv1(tf.ones([1, 3, 1], dtype=tf.float32))
      self.assertEqual(out.shape, [1, 3, 1])
      out = tf.squeeze(out, axis=(0, 2))
  
      self.assertAllClose(self.evaluate(out), expected_out)
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from sonnet.src import conv_transpose
  from sonnet.src import initializers
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the Conv1DTransposeTest obj's underlying member method code with example usage: obj.testComputationPaddingSame(with_bias) without return types