GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
InitToeplitzConnectivitySnippet::AvgPoolConv2D Member List

This is the complete list of members for InitToeplitzConnectivitySnippet::AvgPoolConv2D, including all inherited members.

CalcKernelSizeFunc typedefInitToeplitzConnectivitySnippet::Base
CalcMaxLengthFunc typedefInitToeplitzConnectivitySnippet::Base
DECLARE_SNIPPET(AvgPoolConv2D, 12)InitToeplitzConnectivitySnippet::AvgPoolConv2D
DerivedParamVec typedefSnippet::Base
EGPVec typedefSnippet::Base
getCalcKernelSizeFunc() constInitToeplitzConnectivitySnippet::Baseinlinevirtual
getCalcMaxRowLengthFunc() constInitToeplitzConnectivitySnippet::Baseinlinevirtual
getDerivedParams() const overrideInitToeplitzConnectivitySnippet::AvgPoolConv2Dinlinevirtual
getDiagonalBuildCode() constInitToeplitzConnectivitySnippet::Baseinlinevirtual
getDiagonalBuildStateVars() constInitToeplitzConnectivitySnippet::Baseinlinevirtual
getExtraGlobalParamIndex(const std::string &paramName) constSnippet::Baseinline
getExtraGlobalParams() constSnippet::Baseinlinevirtual
getHashDigest() constInitToeplitzConnectivitySnippet::Base
getNamedVecIndex(const std::string &name, const std::vector< T > &vec)Snippet::Baseinlineprotectedstatic
getParamNames() const overrideInitToeplitzConnectivitySnippet::AvgPoolConv2Dinlinevirtual
ParamValVec typedefSnippet::Base
SET_CALC_KERNEL_SIZE_FUNC([](const std::vector< double > &pars) ->std::vector< unsigned int > { const unsigned int convKH=(unsigned int) pars[0];const unsigned int convKW=(unsigned int) pars[1];const unsigned int poolIC=(unsigned int) pars[8];const unsigned int convOC=(unsigned int) pars[11];return {convKH, convKW, poolIC, convOC};})InitToeplitzConnectivitySnippet::AvgPoolConv2D
SET_CALC_MAX_ROW_LENGTH_FUNC([](unsigned int, unsigned int, const std::vector< double > &pars) { const unsigned int convKH=(unsigned int) pars[0];const unsigned int convKW=(unsigned int) pars[1];const unsigned int convOC=(unsigned int) pars[11];return(convKH *convKW *convOC);})InitToeplitzConnectivitySnippet::AvgPoolConv2D
SET_DIAGONAL_BUILD_CODE("// Convert spike ID into row, column and channel going INTO pool\ "const int prePoolInRow=($(id_pre)/(int)$(pool_ic))/(int)$(pool_iw);\" "const int prePoolInCol=($(id_pre)/(int)$(pool_ic)) %(int)$(pool_iw);\" "const int preChan=$(id_pre) %(int)$(pool_ic);\" "//Calculate row and column going OUT of pool\" "const int poolPreOutRow=prePoolInRow/(int)$(pool_sh);\" "const int poolStrideRow=poolPreOutRow *(int)$(pool_sh);\" "const int poolPreOutCol=prePoolInCol/(int)$(pool_sw);\" "const int poolStrideCol=poolPreOutCol *(int)$(pool_sw);\" "if(prePoolInRow<(poolStrideRow+(int)$(pool_kh)) &&prePoolInCol<(poolStrideCol+(int)$(pool_kw))) {\" "//If we haven 't gone off edge of output\" " const int postRow=poolPreOutRow+$(kernRow) -(int)$(conv_bh);\" " const int postCol=poolPreOutCol+$(kernCol) -(int)$(conv_bw);\" " if(postRow >=0 &&postCol >=0 &&postRow<(int)$(conv_oh) &&postCol<(int)$(conv_ow)) {\" "//Calculate postsynaptic index\" " const int postInd=((postRow *(int)$(conv_ow) *(int)$(conv_oc))+\" "(postCol *(int)$(conv_oc))+\" " $(kernOutChan));\" " $(addSynapse, postInd, $(flipKernRow), $(flipKernCol), preChan, $(kernOutChan));\" " }\" "}\")InitToeplitzConnectivitySnippet::AvgPoolConv2D
SET_DIAGONAL_BUILD_STATE_VARS({{"kernRow", "int", "($(id_diag) / (int)$(conv_oc)) / (int)$(conv_kw)"}, {"kernCol", "int", "($(id_diag) / (int)$(conv_oc)) % (int)$(conv_kw)"}, {"kernOutChan", "int", "$(id_diag) % (int)$(conv_oc)"}, {"flipKernRow", "int", "(int)$(conv_kh) - $(kernRow) - 1"}, {"flipKernCol", "int", "(int)$(conv_kw) - $(kernCol) - 1"}})InitToeplitzConnectivitySnippet::AvgPoolConv2D
StringVec typedefSnippet::Base
updateHash(boost::uuids::detail::sha1 &hash) constSnippet::Baseinlineprotected
validate() constInitToeplitzConnectivitySnippet::Base
~Base()Snippet::Baseinlinevirtual