pub type Error = NeuralError;
Expand description
Error type alias
Aliased Type§
pub enum Error {
Show 23 variants
InvalidArchitecture(String),
TrainingError(String),
InferenceError(String),
SerializationError(String),
DeserializationError(String),
ValidationError(String),
NotImplementedError(String),
IOError(String),
InvalidArgument(String),
ShapeMismatch(String),
ComputationError(String),
DimensionMismatch(String),
DistributedError(String),
ConfigError(String),
AllocationError(String),
DeviceError(String),
DeviceNotFound(String),
ResourceExhausted(String),
InvalidState(String),
NotImplemented(String),
MemoryError(String),
FeatureNotEnabled(String),
Other(String),
}
Variants§
InvalidArchitecture(String)
Invalid architecture
TrainingError(String)
Training error
InferenceError(String)
Inference error
SerializationError(String)
Serialization error
DeserializationError(String)
Deserialization error
ValidationError(String)
Validation error
NotImplementedError(String)
Not implemented error
IOError(String)
IO error
InvalidArgument(String)
Invalid argument error
ShapeMismatch(String)
Shape mismatch error
ComputationError(String)
Computation error
DimensionMismatch(String)
Dimension mismatch error
DistributedError(String)
Distributed training error
ConfigError(String)
Configuration error
AllocationError(String)
Allocation error
DeviceError(String)
Device error
DeviceNotFound(String)
Device not found error
ResourceExhausted(String)
Resource exhausted error
InvalidState(String)
Invalid state error
NotImplemented(String)
Not implemented error (alternative name)
MemoryError(String)
Memory error
FeatureNotEnabled(String)
Feature not enabled error
Other(String)
Other error