1pub mod ad;
21pub mod axis;
22pub mod broadcast;
23pub mod dim_expr;
24pub mod ext_op;
25pub mod input_key;
26pub mod reduction;
27pub mod shape_extent;
28pub mod std_tensor_op;
29pub mod sym_dim;
30
31pub use ad::context::{ShapeGuard, ShapeGuardContext, TensorMeta};
32#[cfg(feature = "autodiff")]
33pub use ext_op::{
34 linearize_extension_rule, transpose_extension_rule, ExtensionLinearTransposeRule,
35 ExtensionLinearizeRule, ExtensionOp, ExtensionPrimalVjpRule, ExtensionRegistryError,
36 ExtensionRuleRole, ExtensionRuleSet, HostReference,
37};
38#[cfg(not(feature = "autodiff"))]
39pub use ext_op::{ExtensionOp, HostReference};
40pub use shape_extent::ShapeExtent;
41pub use sym_dim::SymDim;
42pub use tenferro_extension_macros::ExtensionFamilyId;
43pub use tenferro_tensor::config;
44
45#[cfg(test)]
46mod tests;