#[macro_use]
#[allow(unused_macros)]
mod generated_contracts;
#[cfg(not(feature = "__has_embedding_contract"))]
macro_rules! contract_pre_embedding_lookup {
() => {{}};
($input:expr) => {{
let _ = &$input;
}};
}
#[cfg(not(feature = "__has_embedding_contract"))]
#[allow(unused_macros)]
macro_rules! contract_post_embedding_lookup {
($result:expr) => {{
let _ = &$result;
}};
}
macro_rules! contract_pre_data_read { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
macro_rules! contract_pre_data_mut { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
macro_rules! contract_pre_transpose_tracked { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
#[allow(unused_macros)]
macro_rules! contract_pre_with_resident_weights { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
#[allow(unused_macros)]
macro_rules! contract_pre_alignment_enforcement { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
#[allow(unused_macros)]
macro_rules! contract_pre_geometric_mean { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
#[allow(unused_macros)]
macro_rules! contract_pre_layer_composition { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
#[allow(unused_macros)]
macro_rules! contract_pre_mqs_pass_rate { () => {{}}; ($($x:expr),+ $(,)?) => {{ $(let _ = &$x;)+ }}; }
pub mod aprender_compat;
pub mod autograd;
#[cfg(feature = "citl")]
pub mod citl;
pub mod cli;
pub mod config;
pub mod dashboard;
pub mod decision;
pub mod distill;
pub mod ecosystem;
pub mod efficiency;
pub mod eval;
#[cfg(not(target_arch = "wasm32"))]
pub mod finetune;
pub mod generative;
#[cfg(not(target_arch = "wasm32"))]
pub mod gpu;
#[cfg(all(not(target_arch = "wasm32"), feature = "hub"))]
pub mod hf_pipeline;
pub mod inference;
pub mod integrity;
pub mod io;
pub mod lora;
pub mod merge;
pub mod moe;
pub mod monitor;
pub mod numerical;
pub mod optim;
pub mod pipeline;
pub mod prune;
pub mod quality;
pub mod quant;
pub mod research;
pub mod run;
pub mod safety;
pub mod search;
pub mod server;
pub mod sovereign;
pub mod sovereign_array;
pub mod staging;
pub mod storage;
pub mod tokenizer;
pub mod trace;
pub mod tracking;
pub mod train;
pub mod training;
pub mod transformer;
pub mod yaml_mode;
pub mod error;
pub use autograd::{backward, Context, Tensor};
pub use error::{Error, Result};