Exceptions

14 public types in this namespace, organized by kind.

Enums (1)

Type Summary
TrialExpirationReason Specifies the reason a trial period expired or a license check failed.

Exceptions (13)

Type Summary
AiDotNetException Base exception for all AiDotNet-specific exceptions.
ForwardPassRequiredException Exception thrown when an operation is attempted before a required forward pass has been completed.
InvalidDataValueException Exception thrown when input data contains invalid values such as NaN or infinity.
InvalidInputDimensionException Exception thrown when input data dimensions are invalid for a specific algorithm or operation.
InvalidInputTypeException Exception thrown when a neural network receives an input type that doesn’t match its requirements.
LicenseRequiredException Exception thrown when a model persistence operation (save or load) is attempted after the free trial period has expired and no valid license key is configured.
MatrixFactorizationException Thrown when a matrix factorization cannot proceed because a required pivot is singular or non-finite.
ModelTrainingException Exception thrown when model training operations fail.
SerializationException Exception thrown when serialization or deserialization operations fail.
TensorDimensionException Exception thrown when a tensor’s dimension doesn’t match the expected value.
TensorRankException Exception thrown when a tensor’s rank doesn’t match the expected rank.
TensorShapeMismatchException Exception thrown when a tensor’s shape doesn’t match the expected shape.
VectorLengthMismatchException Exception thrown when a vector’s length doesn’t match the expected value.