10#ifdef MOOSE_LIBTORCH_ENABLED
14#include <torch/torch.h>
17#include "nlohmann/json.h"
Reporter object that has a single execution of the "execute" method for each execute flag.
A Reporter which can print the parameter values of a LibtorchArtificialNeuralNetwork from within a Co...
const Moose::LibtorchArtificialNeuralNet *& _network
Reference to a neural net pointer declared as a reporter.
void execute() override
Execute method.
void finalize() override
Finalize.
static InputParameters validParams()
void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
const std::string _control_name
The name of the control objects which hold the neural networks.
void initialize() override
Called before execute() is ever called so that data can be cleared.
const LibtorchNeuralNetControl * _controller
Pointer to the controller so that we can avoid warehouse lookups in the execute function.
A time-dependent, neural network-based control of multiple input parameters.