8 #include "InitRandomWeights.hpp" 12 InitRandomWeights::InitRandomWeights() {}
14 InitRandomWeights::~InitRandomWeights() {
19 int InitRandomWeights::initialize(
char const *name, HyPerCol *hc) {
20 int status = InitWeights::initialize(name, hc);
40 int InitRandomWeights::initRNGs(
bool isKernel) {
41 assert(mRandState ==
nullptr);
42 int status = PV_SUCCESS;
49 if (mRandState ==
nullptr) {
51 "InitRandomWeights error in rank %d process: unable to create object of class " 53 parent->getCommunicator()->globalCommRank());
int getNumDataPatches() const
float * getDataFromDataIndex(int arbor, int dataIndex)
std::shared_ptr< PatchGeometry > getGeometry() const
virtual void calcWeights()