PetaVision  Alpha
ImpliedWeights.cpp
1 /*
2  * ImpliedWeights.cpp
3  *
4  * Created on: Jul 28, 2017
5  * Author: Pete Schultz
6  */
7 
8 #include "ImpliedWeights.hpp"
9 
10 namespace PV {
11 
12 ImpliedWeights::ImpliedWeights(std::string const &name) { setName(name); }
13 
14 ImpliedWeights::ImpliedWeights(
15  std::string const &name,
16  int patchSizeX,
17  int patchSizeY,
18  int patchSizeF,
19  PVLayerLoc const *preLoc,
20  PVLayerLoc const *postLoc,
21  double timestamp) {
22  setName(name);
23  int const numArbors = 1;
24  bool const sharedWeights = true;
26  patchSizeX, patchSizeY, patchSizeF, preLoc, postLoc, numArbors, sharedWeights, timestamp);
27 }
28 
29 void ImpliedWeights::initNumDataPatches() { setNumDataPatches(0, 0, 0); }
30 
31 } // end namespace PV
void initialize(std::shared_ptr< PatchGeometry > geometry, int numArbors, bool sharedWeights, double timestamp)
Definition: Weights.cpp:34