code: def parameters(self):
          
          parameters = []
          for hl in self.hidden_layers:
              parameters.extend(hl.parameters)
          parameters.extend(self.top_layer.parameters)
          return parameters
docs: A property that returns all of the model's parameters.