Module errors

Module errors 

Source
Expand description

Error types for the neural inference library.

This module contains specific error types used throughout the library, avoiding generic error wrappers like anyhow or Box<dyn Error> for better error handling and debugging.

Structs§

BufferIndexOutOfBoundsError
Specific error for buffer index out of bounds.
ComputationBufferSizeExceedsLimitError
Specific error for computation buffer size exceeding maximum allowed.
FeatureSizeMismatchError
Specific error for feature size mismatch between declared and computed values.
InvalidFeatureSizeError
Specific error for invalid feature size that doesn’t match buffer boundaries.
UnusedComputationError
Specific error for unused computation (dead code in model definition).
ValidationInputOutputMismatchError
Specific error for validation data input/output length mismatch.

Enums§

InstructionModelError
Errors that can occur during instruction model creation, validation, or execution.
ParallelPredictError
ValidationError
Errors that can occur during validation operations.

Type Aliases§

InstructionModelResult
Result type alias for operations that may fail with neural inference errors.
ParallelPredictResult
ValidationResult
Result type alias for validation operations.