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§
- Buffer
Index OutOf Bounds Error - Specific error for buffer index out of bounds.
- Computation
Buffer Size Exceeds Limit Error - Specific error for computation buffer size exceeding maximum allowed.
- Feature
Size Mismatch Error - Specific error for feature size mismatch between declared and computed values.
- Invalid
Feature Size Error - Specific error for invalid feature size that doesn’t match buffer boundaries.
- Unused
Computation Error - Specific error for unused computation (dead code in model definition).
- Validation
Input Output Mismatch Error - Specific error for validation data input/output length mismatch.
Enums§
- Instruction
Model Error - Errors that can occur during instruction model creation, validation, or execution.
- Parallel
Predict Error - Validation
Error - Errors that can occur during validation operations.
Type Aliases§
- Instruction
Model Result - Result type alias for operations that may fail with neural inference errors.
- Parallel
Predict Result - Validation
Result - Result type alias for validation operations.