DRLControlNeuralNetParameters

Overview

Converts the parameters of a LibtorchArtificialNeuralNet within a LibtorchDRLControlTrainer into a vector which can be used for the visualization of the evolution of different parameters over the training process.

Example Syntax

[Reporters<<<{"href": "../../../syntax/Reporters/index.html"}>>>]
  [results]
    type = ConstantReporter<<<{"description": "Reporter with constant values to be accessed by other objects, can be modified using transfers.", "href": "../../reporters/ConstantReporter.html"}>>>
    real_vector_names<<<{"description": "Names for each vector of reals value."}>>> = 'center_temp env_temp reward left_flux log_prob_left_flux'
    real_vector_values<<<{"description": "Values for vectors of reals."}>>> = '0; 0; 0; 0; 0'
    outputs<<<{"description": "Vector of output names where you would like to restrict the output of variables(s) associated with this object"}>>> = 'csv_out'
    execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = timestep_begin
  []
  [nn_parameters]
    type = DRLControlNeuralNetParameters
    trainer_name = nn_trainer
    outputs = json_out
  []
[]
(moose/modules/stochastic_tools/test/tests/transfers/libtorch_nn_transfer/libtorch_drl_control_trainer.i)
warningwarning

The detailed documentation of this object is only available when Moose is compiled with Libtorch. For instructions on how to compile Moose with Libtorch, visit the general installation webpage or click here.