Table of Contents

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

expectedInputType InputType

The expected input type for the neural network.

actualInputType InputType

The actual input type provided.

networkType string

The type of neural network that requires the specific input type.

Properties

ActualInputType

The actual input type provided.

public InputType ActualInputType { get; }

Property Value

InputType

ExpectedInputType

The expected input type for the neural network.

public InputType ExpectedInputType { get; }

Property Value

InputType

NetworkType

The type of neural network that requires the specific input type.

public string NetworkType { get; }

Property Value

string