code: def test_sequential_partial_definitions(self):
      # Tree structure:
      #
      #                       Sigmoid(10)
      #                      /
      # Input(10) - Sigmoid(5)
      #                      \
      #                       Softmax(10)
      #
      input_layer = layers.Input(10)
      minimized = input_layer >> layers.Sigmoid(5)
      reconstructed = minimized >> layers.Sigmoid(10)
      classifier = minimized >> layers.Softmax(20)
  
      x_matrix = asfloat(np.random.random((3, 10)))
      minimized_output = self.eval(minimized.output(x_matrix))
      self.assertEqual((3, 5), minimized_output.shape)
  
      reconstructed_output = self.eval(reconstructed.output(x_matrix))
      self.assertEqual((3, 10), reconstructed_output.shape)
  
      classifier_output = self.eval(classifier.output(x_matrix))
      self.assertEqual((3, 20), classifier_output.shape)
  
imports: import numpy
  from neupy import layers
  from neupy.utils import asfloat
  from neupy.exceptions import LayerConnectionError
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the InlineDefinitionsTestCase obj's underlying member method code with example usage: obj.test_sequential_partial_definitions() without return types