GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
This is the complete list of members for InitToeplitzConnectivitySnippet::AvgPoolConv2D, including all inherited members.
CalcKernelSizeFunc typedef | InitToeplitzConnectivitySnippet::Base | |
CalcMaxLengthFunc typedef | InitToeplitzConnectivitySnippet::Base | |
DECLARE_SNIPPET(AvgPoolConv2D, 12) | InitToeplitzConnectivitySnippet::AvgPoolConv2D | |
DerivedParamVec typedef | Snippet::Base | |
EGPVec typedef | Snippet::Base | |
getCalcKernelSizeFunc() const | InitToeplitzConnectivitySnippet::Base | inlinevirtual |
getCalcMaxRowLengthFunc() const | InitToeplitzConnectivitySnippet::Base | inlinevirtual |
getDerivedParams() const override | InitToeplitzConnectivitySnippet::AvgPoolConv2D | inlinevirtual |
getDiagonalBuildCode() const | InitToeplitzConnectivitySnippet::Base | inlinevirtual |
getDiagonalBuildStateVars() const | InitToeplitzConnectivitySnippet::Base | inlinevirtual |
getExtraGlobalParamIndex(const std::string ¶mName) const | Snippet::Base | inline |
getExtraGlobalParams() const | Snippet::Base | inlinevirtual |
getHashDigest() const | InitToeplitzConnectivitySnippet::Base | |
getNamedVecIndex(const std::string &name, const std::vector< T > &vec) | Snippet::Base | inlineprotectedstatic |
getParamNames() const override | InitToeplitzConnectivitySnippet::AvgPoolConv2D | inlinevirtual |
ParamValVec typedef | Snippet::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 typedef | Snippet::Base | |
updateHash(boost::uuids::detail::sha1 &hash) const | Snippet::Base | inlineprotected |
validate() const | InitToeplitzConnectivitySnippet::Base | |
~Base() | Snippet::Base | inlinevirtual |