oxicuda-ssl 0.2.0

Self-supervised learning primitives for OxiCUDA: SimCLR, MoCo, BYOL, Barlow Twins, VICReg, MAE, SwAV, DINO — pure Rust, zero CUDA SDK dependency.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Representation-quality metrics for self-supervised learning.
//!
//! Provides post-hoc diagnostic tools for evaluating the geometry of learned
//! feature representations — uniformity, alignment, effective rank, and
//! collapse detection — without requiring downstream labels.
//!
//! Also includes the standard SSL kNN evaluation protocol for measuring
//! downstream classification accuracy from frozen features without any
//! parameter training.

pub mod feature_metrics;
pub mod knn_eval;

pub use feature_metrics::{
    alignment_loss, collapse_score, effective_rank, pairwise_cosine_stats, uniformity_loss,
};
pub use knn_eval::{KnnEvalConfig, KnnEvalResult, knn_eval};