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
layerNamestringThe name of the layer where the exception occurred.
layerTypestringThe 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
componentNamestringThe name of the component where the exception occurred.
componentTypestringThe type of the component where the exception occurred.
operationstringThe operation that was attempted.
Properties
ComponentName
The name of the component where the exception occurred.
public string ComponentName { get; }
Property Value
ComponentType
The type of the component where the exception occurred.
public string ComponentType { get; }
Property Value
Operation
The operation that was attempted.
public string Operation { get; }