Classes | |
struct | activ_config |
struct | layer_config |
Enumerations | |
enum | io_type { io_parallel = 0, io_serial } |
Functions | |
template<class data_T , class res_T , typename CONFIG_T > | |
void | compute_layer (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_out], typename CONFIG_T::weight_t weights[CONFIG_T::n_in *CONFIG_T::n_out], typename CONFIG_T::bias_t biases[CONFIG_T::n_out]) |
float | exp_fcn_float (float input) |
template<typename CONFIG_T , int N_TABLE> | |
void | init_exp_table (typename CONFIG_T::table_t table_out[N_TABLE]) |
template<typename CONFIG_T , int N_TABLE> | |
void | init_invert_table (typename CONFIG_T::table_t table_out[N_TABLE]) |
template<class res_T , typename CONFIG_T , int N_TABLE> | |
void | init_sigmoid_table (res_T table_out[N_TABLE]) |
template<typename CONFIG_T , int N_TABLE> | |
void | init_tanh_table (typename CONFIG_T::table_t table_out[N_TABLE]) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | linear (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | relu (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | relu6 (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class data_T , class res_T , int MAX_INT, typename CONFIG_T > | |
void | relu_max (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | sigmoid (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class out_T > | |
out_T | sigmoid_fcn_float (float input) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | softmax (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
template<class data_T , class res_T , typename CONFIG_T > | |
void | tanh (data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in]) |
enum nnet::io_type |
Enumerator | |
---|---|
io_parallel | |
io_serial |
Definition at line 28 of file nnet_common.h.
void nnet::compute_layer | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_out], | ||
typename CONFIG_T::weight_t | weights[CONFIG_T::n_in *CONFIG_T::n_out], | ||
typename CONFIG_T::bias_t | biases[CONFIG_T::n_out] | ||
) |
Definition at line 50 of file nnet_layer.h.
References utilities::cache(), data, DIV_ROUNDUP, cuy::ii, findQualityFiles::jj, VarParsing::mult, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
inline |
Definition at line 134 of file nnet_activation.h.
References JetChargeProducer_cfi::exp, and input.
Referenced by init_exp_table().
void nnet::init_exp_table | ( | typename CONFIG_T::table_t | table_out[N_TABLE] | ) |
Definition at line 137 of file nnet_activation.h.
References exp_fcn_float(), dqmMemoryStats::float, cuy::ii, and P2L1HTMHTEmu::N_TABLE.
void nnet::init_invert_table | ( | typename CONFIG_T::table_t | table_out[N_TABLE] | ) |
Definition at line 149 of file nnet_activation.h.
References dqmMemoryStats::float, cuy::ii, and P2L1HTMHTEmu::N_TABLE.
void nnet::init_sigmoid_table | ( | res_T | table_out[N_TABLE] | ) |
Definition at line 98 of file nnet_activation.h.
References dqmMemoryStats::float, cuy::ii, and P2L1HTMHTEmu::N_TABLE.
void nnet::init_tanh_table | ( | typename CONFIG_T::table_t | table_out[N_TABLE] | ) |
Definition at line 214 of file nnet_activation.h.
References dqmMemoryStats::float, cuy::ii, P2L1HTMHTEmu::N_TABLE, and tanh().
void nnet::linear | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 49 of file nnet_activation.h.
void nnet::relu | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 59 of file nnet_activation.h.
void nnet::relu6 | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
void nnet::relu_max | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 71 of file nnet_activation.h.
void nnet::sigmoid | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 112 of file nnet_activation.h.
|
inline |
void nnet::softmax | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 164 of file nnet_activation.h.
References data, cuy::ii, and findQualityFiles::jj.
void nnet::tanh | ( | data_T | data[CONFIG_T::n_in], |
res_T | res[CONFIG_T::n_in] | ||
) |
Definition at line 227 of file nnet_activation.h.
Referenced by ZCountingElectrons::analyze(), HcalGeomCheck::analyze(), CSCGattiFunction::binValue(), HFRecoEcalCandidateAlgo::correctEPosition(), HcalHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHE(), GflashHadronShowerProfile::fTanh(), FWExpressionValidator::FWExpressionValidator(), PythiaFilterIsolatedTrack::getDistInCM(), spr::getDistInCMatEcal(), spr::getDistInCMatHcal(), IsoTrig::getGoodTracks(), HFGflash::gfParameterization(), init_tanh_table(), reco::HcalIsolatedTrackCandidate::l1jetp(), CaloTowerHardcodeGeometryLoader::makeCell(), SiPixelDigitizerAlgorithm::missCalibrate(), reco::parser::tanh_f::operator()(), HFRecoEcalCandidateAlgo::produce(), L2MuonSeedGeneratorFromL1TkMu::produce(), CaloDualConeSelector< T >::selectCallback(), CaloConeSelector< T >::selectCallback(), GflashShowino::simulateFirstInteractionPoint(), QGLikelihoodCalculator::smearingFunction(), reco::isodeposit::Direction::theta(), and pat::PackedGenParticle::unpack().