tokitai-operator 0.1.0

Verified DL kernel compiler: formally-checked GEMM, p-adic, sheaf, contract-carrying ops. Paper-artifact grade.
Documentation
//! Tokitai operator library: a mathematical operator compiler.
//!
//! Tokitai treats algebraic laws, valuation, locality, and precision as
//! first-class scheduling inputs. The crate is organized as 8 layers:
//!
//! 1. [`facade`] — the public `Tokitai` handle, the only entry point a
//!    user needs.
//! 2. [`object`] — `Tensor`, `ObjectMeta`, `Shape`, `Representation`.
//! 3. [`ir`] — `SemanticGraph` and the closure-based DSL.
//! 4. [`planner`] — `HeuristicPlanner`, `LoweringRule`, obligations.
//! 5. [`op`] — `Operator` trait, `OpSignature`, and the per-family op
//!    modules (`arithmetic`, `shape`, `nn`, `index`, `reductions`).
//! 6. [`domain`] — `DomainId`, `Contract`, `Claim`, `Evidence`.
//! 7. [`backend`] — `CpuScalarBackend` (default), `GpuScaffoldBackend`,
//!    `hip_*` (gated on `rocm-hip`).
//! 8. [`verify`] — `audit_report`, `release_gate`, `claim_status`,
//!    `support_matrix`. This is the source-of-truth for the paper
//!    claim boundary.
//!
//! The default feature set is CPU-only and includes all op families,
//! all planner policies, and the full verifier surface. The `rocm-hip`
//! feature (opt-in) adds the `hip_*` backends, the 0.7B MoE training
//! project, and the model server.
//!
//! For the architecture overview and the per-claim support matrix, see
//! `ARCHITECTURE.md`. For the claim-boundary code, see
//! `src/verify/mod.rs`. For the public surface index, see
//! `docs/operators.md`.
//!
pub mod backend;
#[cfg(feature = "rocm-hip")]
pub mod checkpoint;
pub mod dataset_bridge;
pub mod domain;
pub mod error;
pub mod facade;
#[cfg(feature = "rocm-hip")]
pub mod infer;
pub mod ir;
pub mod metrics;
#[cfg(feature = "rocm-hip")]
pub mod model;
#[cfg(feature = "rocm-hip")]
pub mod model_arch;
#[cfg(feature = "rocm-hip")]
pub mod moe_model;
pub mod object;
pub mod op;
pub mod planner;
#[cfg(feature = "rocm-hip")]
pub mod synth_data;
pub mod theory;
#[cfg(feature = "rocm-hip")]
pub mod training;
#[cfg(feature = "rocm-hip")]
pub mod training_runner;
pub mod verify;

pub use error::{Error, Result};