def __init__(self, save_to=None, write_every=8):
        """
        :param save_to: If given, `save_to` must be a path into which
                        I will write weight statistics in CSV format.
        """
        self.last_weights = None
        self.history = []
        self.save_to = save_to
        self.write_every = write_every
        self._dictwriter = None
        self._save_to_file = None
def __init__ ( self , save_to = None , write_every = 8 ) : self . last_weights = None self . history = [ ] self . save_to = save_to self . write_every = write_every self . _dictwriter = None self . _save_to_file = None
:param save_to: If given, `save_to` must be a path into which
                        I will write weight statistics in CSV format.