code: def test_raise_exception_for_multioutputs(self):
      network = layers.join(
          layers.Input(5),
          layers.parallel(
              layers.Relu(1),
              layers.Relu(2),
          ),
      )
      error_message = "should have one output layer"
      with self.assertRaisesRegexp(InvalidConnection, error_message):
          algorithms.GradientDescent(network)
  
file_path: neupy/tests/algorithms/gd/test_gd.py
imports: import pickle
  import numpy
  import tensorflow
  from neupy import algorithms, layers
  from neupy.algorithms.gd import objectives
  from neupy.exceptions import InvalidConnection
  from base import BaseTestCase
  from helpers import simple_classification
label_desc: Use image node_id 2 for calling the GradientDescentTestCase obj's underlying member method code with example usage: obj.test_raise_exception_for_multioutputs() without return types