https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LibtorchNeuralNetControlTransfer.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 MOOSE_LIBTORCH_ENABLED
11
12#pragma once
13
14// torch-based includes
16
17#include "MultiAppTransfer.h"
19
21{
22public:
24
26
27 virtual void execute() override;
28
29protected:
31 const std::string _control_name;
32
35};
36
37#endif
This trainer is responsible for training neural networks that efficiently control different processes...
const std::string _control_name
The name of the control object on the other app where we want to copy our neural net.
const LibtorchDRLControlTrainer & _trainer
The trainer object which will contains the control neural net.
const InputParameters & parameters() const
Interface for objects that need to use samplers.