LCOV - code coverage report
Current view: top level - ml - Input.cpp (source / functions) Hit Total Coverage
Test: test_coverage.info.cleaned Lines: 6 6 100.0 %
Date: 2022-07-06 02:47:47 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include "Input.h"
       2             : 
       3             : namespace elsa::ml
       4             : {
       5             :     template <typename data_t>
       6           4 :     Input<data_t>::Input(const VolumeDescriptor& inputDescriptor, index_t batchSize,
       7             :                          const std::string& name)
       8             :         : Layer<data_t>(LayerType::Input, name, Layer<data_t>::AnyNumberOfInputDimensions,
       9             :                         /* allowedNumberOfInputs */ 0),
      10           4 :           batchSize_(batchSize)
      11             :     {
      12           4 :         this->setInputDescriptor(inputDescriptor);
      13           4 :     }
      14             : 
      15             :     template <typename data_t>
      16           1 :     index_t Input<data_t>::getBatchSize() const
      17             :     {
      18           1 :         return batchSize_;
      19             :     }
      20             : 
      21             :     template class Input<float>;
      22             : } // namespace elsa::ml

Generated by: LCOV version 1.15