Skip to main content

structops/
lib.rs

1//! Differentiable operators for discrete structure.
2//!
3//! This crate is intended to hold “structured operators” that show up across the stack:
4//! dynamic programming relaxations, structured attention, and sparse structured inference.
5//!
6//! Public invariants (must not change):
7//! - APIs are backend-agnostic (slice-based, `Vec<f64>` outputs).
8//! - Numeric code is deterministic (no RNG in core ops).
9//! - Parameters that control smoothing (e.g. \(\gamma\)) are explicit and validated.
10
11pub mod soft_dtw;
12pub mod soft_shortest_path;