MCPcopy Create free account
hub / github.com/clab/dynet / ParameterInitNormal

Method ParameterInitNormal

dynet/param-init.h:51–51  ·  view source on GitHub ↗

* \brief Constructor * * \param m Mean of the gaussian distribution * \param v Variance of the gaussian distribution (reminder : the variance is the __square__ of the standard deviation) */

Source from the content-addressed store, hash-verified

49 * \param v Variance of the gaussian distribution (reminder : the variance is the __square__ of the standard deviation)
50 */
51 ParameterInitNormal(float m = 0.0f, float v = 1.0f) : mean(m), var(v) {}
52 virtual void initialize_params(Tensor & values) const override;
53private:
54 float mean, var;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected