GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
InitSparseConnectivitySnippet::Conv2D Member List

This is the complete list of members for InitSparseConnectivitySnippet::Conv2D, including all inherited members.

CalcKernelSizeFunc typedefInitSparseConnectivitySnippet::Base
CalcMaxLengthFunc typedefInitSparseConnectivitySnippet::Base
DECLARE_SNIPPET(Conv2D, 12)InitSparseConnectivitySnippet::Conv2D
DerivedParamVec typedefSnippet::Base
EGPVec typedefSnippet::Base
getCalcKernelSizeFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getCalcMaxColLengthFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getCalcMaxRowLengthFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getColBuildCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getColBuildStateVars() constInitSparseConnectivitySnippet::Baseinlinevirtual
getDerivedParams() constSnippet::Baseinlinevirtual
getExtraGlobalParamIndex(const std::string &paramName) constSnippet::Baseinline
getExtraGlobalParams() constSnippet::Baseinlinevirtual
getHashDigest() constInitSparseConnectivitySnippet::Base
getHostInitCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getNamedVecIndex(const std::string &name, const std::vector< T > &vec)Snippet::Baseinlineprotectedstatic
getParamNames() const overrideInitSparseConnectivitySnippet::Conv2Dinlinevirtual
getRowBuildCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getRowBuildStateVars() constInitSparseConnectivitySnippet::Baseinlinevirtual
ParamValVec typedefSnippet::Base
SET_CALC_KERNEL_SIZE_FUNC([](const std::vector< double > &pars) ->std::vector< unsigned int > { return {(unsigned int) pars[0],(unsigned int) pars[1],(unsigned int) pars[8],(unsigned int) pars[11]};})InitSparseConnectivitySnippet::Conv2D
SET_CALC_MAX_ROW_LENGTH_FUNC([](unsigned int, unsigned int, const std::vector< double > &pars) { const double conv_kh=pars[0];const double conv_kw=pars[1];const double conv_sh=pars[2];const double conv_sw=pars[3];const unsigned int conv_oc=(unsigned int) pars[11];return(unsigned int) std::ceil(conv_kh/conv_sh) *(unsigned int) std::ceil(conv_kw/conv_sw) *conv_oc;})InitSparseConnectivitySnippet::Conv2D
SET_ROW_BUILD_CODE("if($(outRow) == $(maxOutRow)) {\ " $(endRow);\" "}\" "const int strideRow=($(outRow) *(int)$(conv_sh)) -(int)$(conv_padh);\" "const int kernRow=$(inRow) - strideRow;\" "for(int outCol=$(minOutCol);outCol< $(maxOutCol);outCol++) {\" " const int strideCol=(outCol *(int)$(conv_sw)) -(int)$(conv_padw);\" " const int kernCol=$(inCol) - strideCol;\" " for(unsigned int outChan=0;outChan<(unsigned int)$(conv_oc);outChan++) {\" " const int idPost=(($(outRow) *(int)$(conv_ow) *(int)$(conv_oc))+\" "(outCol *(int)$(conv_oc))+\" " outChan);\" " $(addSynapse, idPost, kernRow, kernCol, $(inChan), outChan);\" " }\" "}\" "$(outRow)++;\")InitSparseConnectivitySnippet::Conv2D
SET_ROW_BUILD_STATE_VARS({{"inRow", "int", "($(id_pre) / (int)$(conv_ic)) / (int)$(conv_iw)"}, {"inCol", "int", "($(id_pre) / (int)$(conv_ic)) % (int)$(conv_iw)"}, {"inChan", "int", "$(id_pre) % (int)$(conv_ic)"}, {"outRow", "int", "min((int)$(conv_oh), max(0, 1 + (int)floor((inRow + $(conv_padh) - $(conv_kh)) / $(conv_sh))))"}, {"maxOutRow", "int", "min((int)$(conv_oh), max(0, 1 + ((inRow + (int)$(conv_padh)) / (int)$(conv_sh))))"}, {"minOutCol", "int", "min((int)$(conv_ow), max(0, 1 + (int)floor((inCol + $(conv_padw) - $(conv_kw)) / $(conv_sw))))"}, {"maxOutCol", "int", "min((int)$(conv_ow), max(0, 1 + ((inCol + (int)$(conv_padw)) / (int)$(conv_sw))))"}})InitSparseConnectivitySnippet::Conv2D
StringVec typedefSnippet::Base
updateHash(boost::uuids::detail::sha1 &hash) constSnippet::Baseinlineprotected
validate() constInitSparseConnectivitySnippet::Base
~Base()Snippet::Baseinlinevirtual