code: def initialize(self):
          
          print("Initializing '%s' weights..." % self.name, end=" ", file=sys.stderr)
          if self.sharedWeights:
              raise AttributeError("shared weights broken")
          self.count = 0
          for connection in self.connections:
              connection.initialize()
          for layer in self.layers:
              layer.initialize()
docs: Initializes network by calling Connection.initialize() and
          Layer.initialize(). self.count is set to zero.