https://mooseframework.inl.gov
stochastic_tools
include
libtorch
reporters
DRLControlNeuralNetParameters.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#ifdef LIBTORCH_ENABLED
11
12
#pragma once
13
14
#include "
LibtorchArtificialNeuralNet.h
"
15
#include "
SurrogateModelInterface.h
"
16
#include "
GeneralReporter.h
"
17
22
class
DRLControlNeuralNetParameters
:
public
GeneralReporter
,
public
SurrogateModelInterface
23
{
24
public
:
25
static
InputParameters
validParams
();
26
DRLControlNeuralNetParameters
(
const
InputParameters
& params);
27
28
void
initialize
()
override
{};
29
void
execute
()
override
{};
30
void
finalize
()
override
{};
31
};
32
33
#endif
GeneralReporter
GeneralReporter.h
DRLControlNeuralNetParameters
A Reporter which can print the parameter values of a LibtorchArtificialNeuralNetwork from within a DR...
Definition:
DRLControlNeuralNetParameters.h:22
LibtorchArtificialNeuralNet.h
InputParameters
DRLControlNeuralNetParameters::validParams
static InputParameters validParams()
Definition:
DRLControlNeuralNetParameters.C:18
DRLControlNeuralNetParameters::execute
void execute() override
Definition:
DRLControlNeuralNetParameters.h:29
SurrogateModelInterface.h
DRLControlNeuralNetParameters::finalize
void finalize() override
Definition:
DRLControlNeuralNetParameters.h:30
SurrogateModelInterface
Interface for objects that need to use samplers.
Definition:
SurrogateModelInterface.h:31
DRLControlNeuralNetParameters::initialize
void initialize() override
Definition:
DRLControlNeuralNetParameters.h:28
DRLControlNeuralNetParameters::DRLControlNeuralNetParameters
DRLControlNeuralNetParameters(const InputParameters ¶ms)
Definition:
DRLControlNeuralNetParameters.C:31
Generated on Fri Jul 18 2025 13:43:50 for https://mooseframework.inl.gov by
1.8.14