Expand description
Shared ONNX Runtime session helper for learned super-resolution tiers
(feature vision-onnx).
This mirrors qualia-vision/src/weights/onnx_session.rs exactly, but for the
SR tier adapters (cnn_light_session, esrgan_session, swin_session).
- Without the
vision-onnxfeature the whole learned path fails closed — probing/inference returnsFeatureDisabledand no pixels are ever invented. - With
vision-onnx, permissive published SR weights (FSRCNN/ESPCN, Real-ESRGAN, SwinIR — seedocs/plans/gated-av-jobs-2026.md§2) become drop-in: point a tier adapter at the weight file and it loads anort::session::Sessionand runs it.
No unwrap() outside #[cfg(test)].
Structs§
- SrSession
Info - Metadata after a session probe (always available for tests, feature or not).
Enums§
- SrSession
Error - Errors for the learned SR session layer. Mirrors vision’s
OnnxSessionErrorwith an addedInvalidParameterfor bad request geometry.
Functions§
- probe_
sr_ asset - Probe an SR weight file for a tier.