Skip to content
Snippets Groups Projects
AutoencoderModelFactory.txx 2.02 KiB
Newer Older
  • Learn to ignore specific revisions
  • /*=========================================================================
    
      Program:   ORFEO Toolbox
      Language:  C++
      Date:      $Date$
      Version:   $Revision$
    
    
      Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
      See OTBCopyright.txt for details.
    
    
         This software is distributed WITHOUT ANY WARRANTY; without even
         the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
         PURPOSE.  See the above copyright notices for more information.
    
    =========================================================================*/
    #ifndef AutoencoderModelFactory_txx
    #define AutoencoderModelFactory_txx
    
    
    #include "AutoencoderModelFactory.h"
    
    #include "itkCreateObjectFunction.h"
    #include "AutoencoderModel.h"
    #include "itkVersion.h"
    
    namespace otb
    {
    
    template <class TInputValue, class TOutputValue, class NeuronType>
    AutoencoderModelFactoryBase<TInputValue,TOutputValue, NeuronType>::AutoencoderModelFactoryBase()
    
      std::string classOverride = std::string("DimensionalityReductionModel");
    
      std::string subclass = std::string("AutoencoderModel");
    
      this->RegisterOverride(classOverride.c_str(),
                             subclass.c_str(),
    
                             "Shark AE ML Model",
    
                             1,
                          //   itk::CreateObjectFunction<AutoencoderModel<TInputValue,TOutputValue> >::New());
    
    						itk::CreateObjectFunction<AutoencoderModel<TInputValue,NeuronType > >::New());
    
    template <class TInputValue, class TOutputValue, class NeuronType>
    AutoencoderModelFactoryBase<TInputValue,TOutputValue, NeuronType>::~AutoencoderModelFactoryBase()
    
    template <class TInputValue, class TOutputValue, class NeuronType>
    const char* AutoencoderModelFactoryBase<TInputValue,TOutputValue, NeuronType>::GetITKSourceVersion(void) const
    
    template <class TInputValue, class TOutputValue, class NeuronType>
    const char* AutoencoderModelFactoryBase<TInputValue,TOutputValue, NeuronType>::GetDescription() const