Skip to main content

Module error

Module error 

Source
Expand description

Error types for the AxonML core crate.

Error enum covers ShapeMismatch, DTypeMismatch, DeviceMismatch, InvalidDimension, IndexOutOfBounds, AllocationFailed, DeviceNotAvailable, InvalidOperation, BroadcastError, EmptyTensor, NotContiguous, GradientError, SerializationError, and InternalError. Result<T> alias is the standard return type for fallible tensor/device operations.

§File

crates/axonml-core/src/error.rs

§Author

Andrew Jewell Sr. — AutomataNexus LLC ORCID: 0009-0005-2158-7060

§Updated

April 14, 2026 11:15 PM EST

§Disclaimer

Use at own risk. This software is provided “as is”, without warranty of any kind, express or implied. The author and AutomataNexus shall not be held liable for any damages arising from the use of this software.

Enums§

Error
The main error type for Axonml operations.

Type Aliases§

Result
A specialized Result type for Axonml operations.