LCOV - code coverage report
Current view: top level - include/libtorch/reporters - DRLControlNeuralNetParameters.h (source / functions) Hit Total Coverage
Test: idaholab/moose stochastic_tools: f45d79 Lines: 3 3 100.0 %
Date: 2025-07-25 05:00:46 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : #include "LibtorchArtificialNeuralNet.h"
      15             : #include "SurrogateModelInterface.h"
      16             : #include "GeneralReporter.h"
      17             : 
      18             : /**
      19             :  * A Reporter which can print the parameter values of a
      20             :  * LibtorchArtificialNeuralNetwork from within a DRL Trainer object.
      21             :  */
      22             : class DRLControlNeuralNetParameters : public GeneralReporter, public SurrogateModelInterface
      23             : {
      24             : public:
      25             :   static InputParameters validParams();
      26             :   DRLControlNeuralNetParameters(const InputParameters & params);
      27             : 
      28           8 :   void initialize() override{};
      29           8 :   void execute() override{};
      30           8 :   void finalize() override{};
      31             : };
      32             : 
      33             : #endif

Generated by: LCOV version 1.14