pub mod capability;
pub mod catalog;
pub mod conformance;
pub mod context;
pub mod dispatch;
pub mod meta;
pub mod policy;
pub mod precision;
pub mod proof;
pub mod request;
pub mod rule;
pub mod shape_projection;
pub mod spec;
pub mod symbolic;
pub mod tape;
pub use capability::{
Capabilities, CapabilityQuery, CapabilityRegistry, CapabilityRule, ImplementationKind,
OperationIdentity, RankSupport, SupportLevel, UnsupportedReason,
};
pub use catalog::{
AttributeContract, CanonicalOperation, Descriptor, DescriptorError, LogicalTensorMeta,
OPERATION_CATALOG, Operation, OperationCatalogEntry, OperationKey, ValidatedInvocation,
catalog_entry, op, operation_coverage_document, operation_semantics_document,
};
pub use symbolic::{
Constraint, DimExpr, RankExpr, ShapeExpr, SymbolEnvironment, SymbolId, SymbolInfo, SymbolTable,
};
pub use crate::shapes::ProofLevel;
pub use catalog::{
BroadcastingRule, DTypeRule, EmptyRule, ExecutionSite, GradientRule, LayoutRule, NumericRule,
OperationCoverage, OutputRule, SemanticProfile, operation_coverage,
};
#[cfg(feature = "std")]
pub use catalog::{CapturedDescriptor, DescriptorCaptureError};
pub use conformance::{
ConformanceClass, ConformanceVector, ExpectedDisposition, SEMANTIC_CONFORMANCE_VECTORS,
};
pub use context::ExecutionContext;
pub use dispatch::{CanonicalError, PolicyViolation};
pub use meta::{Alignment, LayoutClass, MetaError, TensorMeta};
#[cfg(feature = "std")]
pub use policy::check_gradients;
pub use policy::{Determinism, ExecutionPolicy, FallbackPolicy, GradMode, MathMode, NanPolicy};
pub use precision::{
LossScaleState, LossScaling, PrecisionCapabilities, PrecisionChoice, PrecisionRequest,
PrecisionRole, PrecisionSpec, ResolvedPrecision, RuntimePrecisionPolicy, resolve_precision,
};
pub use proof::{ShapeEvidence, Validated};
pub use rule::{MatMulRule, ReduceKeepRule, ReduceRule, ReshapeRule, ShapeRule};
pub use request::TensorHandle;
pub use spec::{AxisSet, DescriptorSchemaVersion, ExecutionDescriptor, ReduceOp};
pub use tape::{BackwardFn, GradientMap, Tape, TapeNode, TapeStorage, TensorId};