Skip to content

Struct FSB3NetworkArchSettings

Struct FSB3NetworkArchSettings

  • Defined in File SB3NetworkArchitectureSettings.h

Inheritance Relationships

Base Type

struct FSB3NetworkArchSettings : public FTrainingSettings

Source: Source/Schola/Training/Public/TrainingSettings/StableBaselines/SB3NetworkArchitectureSettings.h

Dependencies: FScriptArgBuilder

A struct to hold network architecture settings for an SB3 training script.


Public Functions

SymbolDetails
GenerateTrainingArgsGenerate the training arguments for the script using the ArgBuilder.
~FSB3NetworkArchSettings

GenerateTrainingArgs

virtual void GenerateTrainingArgs(FScriptArgBuilder &ArgBuilder) const

Generate the training arguments for the script using the ArgBuilder.

Populates the ArgBuilder with training-specific command-line arguments.

Parameters

ArgBuilder – [inout] The builder to use to generate the arguments.

#DirectionNameTypeDescription
1ArgBuilderFScriptArgBuilder &The builder to use to generate the arguments.

Attributes: const, virtual

Source: Source/Schola/Training/Public/TrainingSettings/StableBaselines/SB3NetworkArchitectureSettings.h

Implementation: Source/Schola/Training/Private/TrainingSettings/StableBaselines/SB3NetworkArchitectureSettings.cpp


~FSB3NetworkArchSettings

virtual ~FSB3NetworkArchSettings()

Attributes: virtual

Source: Source/Schola/Training/Public/TrainingSettings/StableBaselines/SB3NetworkArchitectureSettings.h

Implementation: Source/Schola/Training/Private/TrainingSettings/StableBaselines/SB3NetworkArchitectureSettings.cpp


Public Members

SymbolDetails
ActivationFunctionThe activation function to use in the neural network.
CriticParametersThe number and width of hidden layers in the Critic.
PolicyParametersThe number and width of hiddent layers in the policy network.

ActivationFunction

ESB3ActivationFunctionEnum ActivationFunction = ESB3ActivationFunctionEnum::ReLU

The activation function to use in the neural network.


CriticParameters

TArray<int> CriticParameters = {256, 256}

The number and width of hidden layers in the Critic.

Applied to either the Q-Function or Value-Function


PolicyParameters

TArray<int> PolicyParameters = {256, 256}

The number and width of hiddent layers in the policy network.