8 #ifndef INITUNIFORMWEIGHTS_HPP_ 9 #define INITUNIFORMWEIGHTS_HPP_ 11 #include "InitWeights.hpp" 46 float getWeightInit()
const {
return mWeightInit; }
47 bool getConnectOnlySameFeatures()
const {
return mConnectOnlySameFeatures; }
51 int initialize(
const char *name,
HyPerCol *hc);
52 virtual void calcWeights(
int patchIndex,
int arborId)
override;
55 void uniformWeights(
float *dataStart,
float weightInit,
int kf,
bool connectOnlySameFeatures);
58 float mWeightInit = 0.0f;
59 bool mConnectOnlySameFeatures =
false;
virtual void calcWeights()