code: def export(self, fn:PathOrStr, **kwargs):
          "Export the minimal state and save it in `fn` to load an empty version for inference."
          pickle.dump(self.get_state(**kwargs), open(fn, 'wb')f export(self, fn:PathOrStr, **kwargs):
          "Export the minimal state and save it in `fn` to load an empty version for inference."
          pickle.dump(self.get_state(**kwargs), open(fn, 'wb'))
docs: Export the minimal state and save it in `fn` to load an empty version for inference.