Module core.ParamHolder

Stores and restores network parameters and activation functions.

Functions

ParamHolder.new () Constructor.
ParamHolder:restore (net, params) Restores / sets the parameters and activation functions of a network.
ParamHolder:store (net, params) Stores the parameters and activation functions of a network.


Functions

ParamHolder.new ()
Constructor.

Return value:

New instance of ParamHolder
ParamHolder:restore (net, params)
Restores / sets the parameters and activation functions of a network.

Parameters

  • net: Network to set the parameters
  • params: Map with the parameters to be setted (the redonly ones are ignored)
ParamHolder:store (net, params)
Stores the parameters and activation functions of a network.

Parameters

  • net: Network to get the parameters
  • params: Map with the parameters to be getted (the readonly ones are ignored)

Valid XHTML 1.0!