PetaVision  Alpha
 All Data Structures Namespaces Functions Variables
PV::InitGaussianRandomWeights Class Reference
Inheritance diagram for PV::InitGaussianRandomWeights:
PV::InitRandomWeights PV::InitWeights PV::BaseObject

Public Member Functions

 InitGaussianRandomWeights (char const *name, HyPerCol *hc)
 
 InitGaussianRandomWeights (HyPerConn *conn)
 
virtual int calcWeights (pvdata_t *dataStart, int patchIndex, int arborId)
 
virtual int calcWeights ()
 
virtual int calcWeights (pvwdata_t *dataStart, int patchIndex, int arborId)
 
virtual int communicateParamsInfo ()
 
virtual InitWeightsParamscreateNewWeightParams ()
 
char const * getKeyword () const
 
char const * getName () const
 
HyPerColgetParent () const
 
int initializeWeights (PVPatch ***patches, pvwdata_t **dataStart, double *timef=NULL)
 
virtual int ioParamsFillGroup (enum ParamsIOFlag ioFlag)
 
virtual int readWeights (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *filename, double *time=NULL)
 

Protected Member Functions

int initialize (char const *name, HyPerCol *hc)
 
virtual int initRNGs (bool isKernel)
 
virtual int randomWeights (pvdata_t *patchDataStart, InitWeightsParams *weightParamPtr, int patchIndex)
 
virtual int readCombinedWeightFiles (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *fileOfWeightFiles, double *timef=NULL)
 
virtual int readListOfArborFiles (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *listOfArborsFilename, double *timef=NULL)
 
int setName (char const *name)
 
int setParent (HyPerCol *hc)
 
virtual int zeroWeightsOutsideShrunkenPatch (PVPatch ***patches)
 

Protected Attributes

HyPerConncallingConn
 
GaussianRandomgaussianRandState
 
char * name
 
HyPerColparent
 
RandomrandState
 
InitWeightsParamsweightParams
 

Private Member Functions

int initialize_base ()
 

Detailed Description

Definition at line 17 of file InitGaussianRandomWeights.hpp.

Member Function Documentation

int PV::InitGaussianRandomWeights::randomWeights ( pvdata_t *  patchDataStart,
InitWeightsParams weightParams,
int  patchIndex 
)
protectedvirtual

randomWeights() fills the full-size patch with random numbers, whether or not the patch is shrunken.

Implements PV::InitRandomWeights.

Definition at line 62 of file InitGaussianRandomWeights.cpp.


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