Table of Contents

Class ForwardPassRequiredException

Namespace
AiDotNet.Exceptions
Assembly
AiDotNet.dll

Exception thrown when an operation is attempted before a required forward pass has been completed.

public class ForwardPassRequiredException : AiDotNetException, ISerializable
Inheritance
ForwardPassRequiredException
Implements
Inherited Members

Constructors

ForwardPassRequiredException(string, string)

Initializes a new instance of the ForwardPassRequiredException class for a layer.

public ForwardPassRequiredException(string layerName, string layerType)

Parameters

layerName string

The name of the layer where the exception occurred.

layerType string

The type of the layer where the exception occurred.

ForwardPassRequiredException(string, string, string)

Initializes a new instance of the ForwardPassRequiredException class.

public ForwardPassRequiredException(string componentName, string componentType, string operation)

Parameters

componentName string

The name of the component where the exception occurred.

componentType string

The type of the component where the exception occurred.

operation string

The operation that was attempted.

Properties

ComponentName

The name of the component where the exception occurred.

public string ComponentName { get; }

Property Value

string

ComponentType

The type of the component where the exception occurred.

public string ComponentType { get; }

Property Value

string

Operation

The operation that was attempted.

public string Operation { get; }

Property Value

string