Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | Static Public Member Functions | List of all members
dragon::Registerer< SrcType, ObjType, Args > Class Template Reference

#include <registry.h>

Public Member Functions

 Registerer (const SrcType &key, Registry< SrcType, ObjType, Args... > *registry, typename Registry< SrcType, ObjType, Args... >::Creator creator, const string &help_msg="")
 

Static Public Member Functions

template<class DerivedType >
static ObjType * defaultCreator (Args ... args)
 

Constructor & Destructor Documentation

◆ Registerer()

template<class SrcType , class ObjType , class... Args>
dragon::Registerer< SrcType, ObjType, Args >::Registerer ( const SrcType &  key,
Registry< SrcType, ObjType, Args... > *  registry,
typename Registry< SrcType, ObjType, Args... >::Creator  creator,
const string &  help_msg = "" 
)
inline

Member Function Documentation

◆ defaultCreator()

template<class SrcType , class ObjType , class... Args>
template<class DerivedType >
static ObjType* dragon::Registerer< SrcType, ObjType, Args >::defaultCreator ( Args ...  args)
inlinestatic

The documentation for this class was generated from the following file: