code: def network(self, borrow=False):
          
          if self._network is None and self.network_json is not None:
              self.load_weights()
              if borrow:
                  return self.borrow_cached_network(
                      self.network_json,
                      self.network_weights)
              else:
                  import keras.models
                  self._network = keras.models.model_from_json(self.network_json)
                  if self.network_weights is not None:
                      self._network.set_weights(self.network_weights)
                  self.network_json = None
                  self.network_weights = None
          return self._network
docs: Return the keras model associated with this predictor.
  
          Parameters
          ----------
          borrow : bool
              Whether to return a cached model if possible. See
              borrow_cached_network for details
  
          Returns
          -------
          keras.models.Model