code: def display(self):
          
          print("Display network '" + self.name + "':")
          size = list(range(len(self.layers)))
          size.reverse()
          for i in size:
              if self.layers[i].active:
                  self.layers[i].display()
                  if self.patterned and self.layers[i].type != 'Hidden':
                      targetWord, diff = self.getWord( self.layers[i].target, returnDiff = 1)
                      if self.layers[i].kind == 'Output':
                          if targetWord == None:
                              print("Target Pattern   = %s" % "No match")
                          else:
                              if diff == 0.0:
                                  print("Target Pattern   = '%s'; (exact)" % targetWord)
                              else:
                                  print("Target Pattern   = '%s'; Match difference = %f)" % (targetWord, diff))
                      actWord, diff = self.getWord( self.layers[i].activation, returnDiff = 1 )
                      if (self.layers[i].kind == 'Input' or self.layers[i].kind == 'Output'):
                          if actWord == None:
                              print("Matching Pattern = %s" % "No match")
                          else:
                              if diff == 0.0:
                                  print("Matching Pattern = '%s'; (exact)" % actWord)
                              else:
                                  print("Matching Pattern = '%s'; Match difference = %f" % (actWord, diff))
                  if self.verbosity >= 1:
                      weights = list(range(len(self.connections)))
                      weights.reverse()
                      for j in weights:
                          if self.connections[j].toLayer.name == self.layers[i].name:
                              self.connections[j].display()
docs: Displays the network to the screen.