LCOV - code coverage report
Current view: top level - include - LayerHidden.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2024-12-28 17:36:05 Functions: 2 2 100.0 %

          Line data    Source code
       1             : /**
       2             :  * @file LayerHidden.h
       3             :  * @author Damien Balima (www.dams-labs.net)
       4             :  * @brief Hidden layer
       5             :  * @date 2023-08-27
       6             :  *
       7             :  * @copyright Damien Balima (c) CC-BY-NC-SA-4.0 2023
       8             :  *
       9             :  */
      10             : #pragma once
      11             : #include "Layer.h"
      12             : #include <cmath>
      13             : #include <cstddef>
      14             : #include <execution>
      15             : #include <stdexcept>
      16             : 
      17             : namespace sipai {
      18             : /**
      19             :  * @brief The HiddenLayer class represents a hidden layer in a neural network.
      20             :  * It inherits from the Layer class and overrides its methods as necessary.
      21             :  * Hidden layers are responsible for processing inputs received from the input
      22             :  * layer and passing the result to the output layer or the next hidden layer.
      23             :  */
      24             : class LayerHidden : public Layer {
      25             : public:
      26           1 :   LayerHidden() : Layer(LayerType::LayerHidden) {}
      27          11 :   LayerHidden(size_t size_x, size_t size_y)
      28          11 :       : Layer(LayerType::LayerHidden, size_x, size_y) {}
      29             : };
      30             : } // namespace sipai

Generated by: LCOV version 1.16