code: def testDifferentOutputSizeBreaks(self):
      batch_size = 4
      input_size = 5
      output_size_a = 6
      output_size_b = 3
  
      lin_a = linear.Linear(output_size_a, name="lin_a")
      lin_b = linear.Linear(output_size_b, name="lin_b")
      input_a = tf.random.uniform([batch_size, input_size])
      input_b = tf.random.uniform([batch_size, input_size])
      with self.assertRaisesIncompatibleShapesError(
          tf.errors.InvalidArgumentError
      ):
          util.apply_linear((input_a, input_b), (lin_a, lin_b))
  
imports: from absl.testing import parameterized
  import numpy
  from sonnet.src import linear
  from sonnet.src import test_utils
  from sonnet.src.nets.dnc import util
  import tensorflow
  import tree
label_desc: Use image node_id 3 for calling the LinearTest obj's underlying member method code with example usage: obj.testDifferentOutputSizeBreaks() without return types