Skip to main content

Module core

Module core 

Source
Expand description

Foundational OA values, metadata, and failure contracts.

Re-exports§

pub use callback::Callback;
pub use callback::CallbackSet;
pub use callback::IteratorContext;
pub use cli::Cli;
pub use config::CheckpointConfig;
pub use config::LogConfig;
pub use constant::COMPACT_BANNER;
pub use constant::REALM_BANNER;
pub use constant::VIEWPORT_TITLE;
pub use constant::brand_viewport;
pub use env_flag::EnvFlag;
pub use env_flag::NumericMode;
pub use env_flag::apply_numeric_mode;
pub use filesystem::Filesystem;
pub use log_metrics::LogMetrics;
pub use mapped_file::MappedFile;
pub use crate::matrix::Matrix;
pub use path::Path;
pub use perf_stat::PerfStat;
pub use time::Datetime;
pub use time::ScopedTimer;
pub use time::Stopwatch;
pub use time::Timestamp;
pub use transform::Transform;
pub use transform::quaternion_from_six_d;
pub use transform::quaternion_to_six_d;
pub use validation::Validation;
pub use validation::ValidationSeverity;

Modules§

callback
Callback trait and iterator context for training and inference sessions.
cli
Command-line configuration with YAML-file + argv precedence.
config
Shared training and logging configuration structs.
constant
OA branding constants and ASCII banners.
env_flag
Environment-variable knobs for OA runtime configuration.
filesystem
Stateless host-filesystem operations.
log_metrics
Structured JSONL scalar metrics sink.
mapped_file
Read-only whole-file memory mapping with RAII ownership.
memory
Checked host-memory operations and explicit cache policy.
operation
Schema-generated semantic operation registry.
path
Named OA filesystem locations and the oa::Path value type.
perf_stat
Rolling-window performance statistics accumulator.
time
Nanosecond-precision host timing.
transform
Semantic local spatial transform value.
validation
Debug validation layer for OA compute operations.
vlm
Compact host-side Vulkan linear math.

Structs§

Color
Four-component RGBA color used by UI, plotting, overlays, and ordinary normalized render colors.
Duration
Signed nanosecond-precision duration.
Error
Error returned by fallible OA operations.
F16
IEEE 754 binary16 (half-precision) storage value for DType::F16.
OpAttributeSpec
Ordered schema declaration for one operation attribute.
OpEffect
Logical value effects of an operation.
OperationContract
Stable semantic contract for one operation before backend lowering.

Enums§

BufferAccess
Read/write access qualifier for a buffer binding.
DType
Scalar data representation of an OA value.
ErrorKind
Stable category for an OA failure.
OpAttribute
One ordered non-value input that affects operation meaning.
OpAttributeKind
Stable type tag for a non-value operation attribute.
OpControlFlow
Semantic control-flow class of an operation.
OpDTypeRule
Uniform dtype relationship declared by an operation schema.
OpDifferentiation
Reverse-differentiation behavior declared by an operation schema.
OpFusionClass
Fusion taxonomy class declared by an operation schema.
OpLowering
Backend-neutral lowering family requested by an operation schema.
OpShapeRule
Uniform shape relationship declared by an operation schema.
OpValueKind
Semantic kind of one operation value.

Traits§

Element
Rust host type that has one exact admitted dense DType representation.

Type Aliases§

Result
Result returned by fallible OA operations.