mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
NetworkInitialization< InitializationRuleType, CustomLayers > Class Template Reference

This class is used to initialize the network with the given initialization rule. More...

Public Member Functions

 NetworkInitialization (const InitializationRuleType &initializeRule=InitializationRuleType())
 Use the given initialization rule to initialize the specified network. More...
 
void Initialize (const std::vector< LayerTypes< CustomLayers...> > &network, arma::mat &parameter)
 Initialize the specified network and store the results in the given parameter. More...
 

Detailed Description

template<typename InitializationRuleType, typename... CustomLayers>
class mlpack::ann::NetworkInitialization< InitializationRuleType, CustomLayers >

This class is used to initialize the network with the given initialization rule.

Definition at line 33 of file network_init.hpp.

Constructor & Destructor Documentation

NetworkInitialization ( const InitializationRuleType &  initializeRule = InitializationRuleType())
inline

Use the given initialization rule to initialize the specified network.

Parameters
initializeRuleRule to initialize the given network.

Definition at line 41 of file network_init.hpp.

Member Function Documentation

void Initialize ( const std::vector< LayerTypes< CustomLayers...> > &  network,
arma::mat &  parameter 
)
inline

Initialize the specified network and store the results in the given parameter.

Parameters
networkNetwork that should be initialized.
parameterThe network parameter.

Definition at line 55 of file network_init.hpp.


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