7 #include "TransposeConn.hpp" 8 #include "columns/HyPerCol.hpp" 9 #include "components/DependentArborList.hpp" 10 #include "components/DependentSharedWeights.hpp" 11 #include "components/TransposePatchSize.hpp" 12 #include "components/TransposeWeightsPair.hpp" 16 TransposeConn::TransposeConn(
char const *name, HyPerCol *hc) { initialize(name, hc); }
18 TransposeConn::TransposeConn() {}
20 TransposeConn::~TransposeConn() {}
22 int TransposeConn::initialize(
char const *name, HyPerCol *hc) {
23 int status = HyPerConn::initialize(name, hc);
27 void TransposeConn::defineComponents() {
28 HyPerConn::defineComponents();
29 mOriginalConnNameParam = createOriginalConnNameParam();
30 if (mOriginalConnNameParam) {
35 ArborList *TransposeConn::createArborList() {
return new DependentArborList(name, parent); }
37 PatchSize *TransposeConn::createPatchSize() {
return new TransposePatchSize(name, parent); }
39 SharedWeights *TransposeConn::createSharedWeights() {
40 return new DependentSharedWeights(name, parent);
43 WeightsPairInterface *TransposeConn::createWeightsPair() {
44 return new TransposeWeightsPair(name, parent);
47 InitWeights *TransposeConn::createWeightInitializer() {
return nullptr; }
49 NormalizeBase *TransposeConn::createWeightNormalizer() {
return nullptr; }
51 BaseWeightUpdater *TransposeConn::createWeightUpdater() {
return nullptr; }
53 OriginalConnNameParam *TransposeConn::createOriginalConnNameParam() {
54 return new OriginalConnNameParam(name, parent);
57 Response::Status TransposeConn::initializeState() {
return Response::NO_ACTION; }
virtual void addObserver(Observer *observer) override