NeuralNetworkDefaultOptions

Options & Configuration · AiDotNet.NeuralNetworks.Options

Configuration options for the NeuralNetwork.

Inheritance: ModelOptions → NeuralNetworkOptions → NeuralNetworkDefaultOptions

Constructors

Constructor Summary
NeuralNetworkDefaultOptions()

Properties

Property Summary
double MaxGradNorm { get; set; } The global gradient-norm bound the network clips its training gradients to; 0 turns the network’s own clipping off, leaving only its optimizer’s (default 1.0, PyTorch’s usual transformer setting).
int[] HiddenLayers { get; set; } Gets or sets explicit hidden-layer widths for the default stack, input side first; null sizes the hidden layers from the architecture’s complexity.