univi.workflows.save_reference

Contents

univi.workflows.save_reference#

univi.workflows.save_reference(directory, model, *, preprocessors=None, metadata=None)[source]#

Save model configuration, objective switches, labels, and fitted transforms.

The directory contains model.pt and optional preprocessing.joblib. Save cell split maps and acquisition details in metadata. No optimizer state is saved: this bundle is for inference/new training stages, not exact resume.