Class InvalidInputTypeException
- Namespace
- AiDotNet.Exceptions
- Assembly
- AiDotNet.dll
Exception thrown when a neural network receives an input type that doesn't match its requirements.
public class InvalidInputTypeException : AiDotNetException, ISerializable
- Inheritance
-
InvalidInputTypeException
- Implements
- Inherited Members
Constructors
InvalidInputTypeException(InputType, InputType, string)
Initializes a new instance of the InvalidInputTypeException class.
public InvalidInputTypeException(InputType expectedInputType, InputType actualInputType, string networkType)
Parameters
expectedInputTypeInputTypeThe expected input type for the neural network.
actualInputTypeInputTypeThe actual input type provided.
networkTypestringThe type of neural network that requires the specific input type.
Properties
ActualInputType
The actual input type provided.
public InputType ActualInputType { get; }
Property Value
ExpectedInputType
The expected input type for the neural network.
public InputType ExpectedInputType { get; }
Property Value
NetworkType
The type of neural network that requires the specific input type.
public string NetworkType { get; }