Expand description
Error and Result types.
This crate uses a split error-handling policy:
- Configuration/data validation at the API boundary returns
Result. - Low-level hot-path methods (e.g. per-sample forward/backward) panic on misuse
(shape mismatches) via
assert!/assert_eq!.
Enums§
- Error
- Errors returned by fallible constructors and high-level APIs.
Type Aliases§
- Result
- Convenience alias used throughout the crate.