code: def clean_weight_files(cls):
          
          deleted = []
          for f in cls._files:
              try:
                  os.remove(f)
                  deleted.append(f)
              except FileNotFoundError:
                  pass
          print('Deleted %d weight files' % len(deleted))
          cls._files = []
docs: Cleans existing weight files.