PetaVision  Alpha
 All Data Structures Namespaces Functions Variables
PV::InitV Class Reference

InitV Parameters

List of parameters needed from the InitV class

virtual void ioParamGroup_ConstantV (enum ParamsIOFlag ioFlag)
 valueV: The value to initialize the V buffer with
 
virtual void ioParamGroup_ZeroV (enum ParamsIOFlag ioFlag)
 No other parameters nessessary.
 
virtual void ioParamGroup_UniformRandomV (enum ParamsIOFlag ioFlag)
 minV: The minimum value to generate uniform random V's with
More...
 
virtual void ioParamGroup_GaussianRandomV (enum ParamsIOFlag ioFlag)
 meanV: The mean to generate guassian random V's with
More...
 
virtual void ioParamGroup_InitVFromFile (enum ParamsIOFlag ioFlag)
 Vfilename: The pvp filename to load the V buffer from.
 

Public Member Functions

 InitV (HyPerCol *hc, const char *groupName)
 
virtual int calcV (HyPerLayer *layer)
 
virtual int ioParamsFillGroup (enum ParamsIOFlag ioFlag)
 

Protected Member Functions

int initialize (HyPerCol *hc, const char *groupName)
 

Private Member Functions

int calcConstantV (pvdata_t *V, int numNeurons)
 
int calcGaussianRandomV (pvdata_t *V, const PVLayerLoc *loc, HyPerCol *hc)
 
int calcUniformRandomV (pvdata_t *V, const PVLayerLoc *loc, HyPerCol *hc)
 
int calcVFromFile (pvdata_t *V, const PVLayerLoc *loc, InterColComm *icComm)
 
int checkLoc (const PVLayerLoc *loc, int nx, int ny, int nf, int nxGlobal, int nyGlobal)
 
int checkLocValue (int fromParams, int fromFile, const char *field)
 
int initialize_base ()
 

Private Attributes

pvdata_t constantValue
 
char * filename
 
char * groupName
 
InitVType initVTypeCode
 
char * initVTypeString
 
pvdata_t maxV
 
pvdata_t meanV
 
pvdata_t minV
 
HyPerColparent
 
bool printErrors
 
pvdata_t sigmaV
 

Detailed Description

Definition at line 32 of file InitV.hpp.

Member Function Documentation

void PV::InitV::ioParamGroup_GaussianRandomV ( enum ParamsIOFlag  ioFlag)
protectedvirtual

meanV: The mean to generate guassian random V's with

sigmaV: The standard deviation to generate gaussian random V's with

Definition at line 57 of file InitV.cpp.

void PV::InitV::ioParamGroup_UniformRandomV ( enum ParamsIOFlag  ioFlag)
protectedvirtual

minV: The minimum value to generate uniform random V's with

maxV: The maximum value to generate uniform random V's with

Definition at line 52 of file InitV.cpp.


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