#include <LutNeuronLayerFixedPoint.h>
Public Types | |
typedef std::array< ap_ufixed< input_W, input_I, AP_TRN, AP_SAT >, inputSize > | inputArrayType |
typedef std::array< ap_fixed< lutOutSum_W, lutOutSum_I >, neurons > | lutSumArrayType |
Public Member Functions | |
auto & | getLutArray () |
auto & | getLutOutSum () |
auto | getName () |
auto & | getOutWithOffset () |
void | load (boost::property_tree::ptree &tree, std::string keyPath) |
LutNeuronLayerFixedPoint () | |
lutSumArrayType & | runWithInterpolation (const inputArrayType &inputArray) |
void | save (boost::property_tree::ptree &tree, std::string keyPath) |
void | setLutArray (const std::array< std::array< std::array< ap_fixed< output_W, output_I >, lutSize >, neurons >, inputSize > &lutArray) |
void | setName (std::string name) |
virtual | ~LutNeuronLayerFixedPoint () |
Static Public Attributes | |
static constexpr int | input_W = input_I + input_F |
static constexpr int | lut_W = lut_I + lut_F |
static constexpr int | lutOutSum_I = lut_I + ceillog2(inputSize) |
static constexpr int | lutOutSum_W = lutOutSum_I + lut_F |
static constexpr size_t | lutSize = 1 << input_I |
static constexpr int | output_W = output_I + lut_F |
Private Attributes | |
std::array< std::array< std::array< ap_fixed< lut_W, lut_I >, lutSize >, neurons >, inputSize > | lutArray |
lutSumArrayType | lutOutSumArray |
std::string | name |
ap_uint< output_I > | outOffset = 1 << (output_I - 1) |
std::array< ap_ufixed< output_W, output_I, AP_TRN, AP_SAT >, neurons > | outputArray |
Definition at line 42 of file LutNeuronLayerFixedPoint.h.
typedef std::array<ap_ufixed<input_W, input_I, AP_TRN, AP_SAT>, inputSize> lutNN::LutNeuronLayerFixedPoint< input_I, input_F, inputSize, lut_I, lut_F, neurons, output_I >::inputArrayType |
Definition at line 57 of file LutNeuronLayerFixedPoint.h.
typedef std::array<ap_fixed<lutOutSum_W, lutOutSum_I>, neurons> lutNN::LutNeuronLayerFixedPoint< input_I, input_F, inputSize, lut_I, lut_F, neurons, output_I >::lutSumArrayType |
Definition at line 59 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 61 of file LutNeuronLayerFixedPoint.h.
|
inlinevirtual |
Definition at line 76 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 80 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 167 of file LutNeuronLayerFixedPoint.h.
Referenced by lutNN::LutNetworkFixedPointRegression2Outputs< input_I, input_F, inputSize, layer1_lut_I, layer1_lut_F, layer1_neurons, layer1_output_I, layer2_input_I, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I, layer3_0_inputCnt, layer3_0_lut_I, layer3_0_lut_F, output0_I, output0_F, layer3_1_inputCnt, layer3_1_lut_I, layer3_1_lut_F, output1_I, output1_F >::getCalibratedHwPt(), and lutNN::LutNetworkFixedPointRegression2Outputs< input_I, input_F, inputSize, layer1_lut_I, layer1_lut_F, layer1_neurons, layer1_output_I, layer2_input_I, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I, layer3_0_inputCnt, layer3_0_lut_I, layer3_0_lut_F, output0_I, output0_F, layer3_1_inputCnt, layer3_1_lut_I, layer3_1_lut_F, output1_I, output1_F >::run().
|
inline |
|
inline |
Definition at line 171 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 109 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 139 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 87 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 82 of file LutNeuronLayerFixedPoint.h.
|
inline |
Definition at line 78 of file LutNeuronLayerFixedPoint.h.
|
static |
Definition at line 44 of file LutNeuronLayerFixedPoint.h.
Referenced by lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::LutNeuronLayerFixedPoint(), and lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::runWithInterpolation().
|
static |
|
private |
Definition at line 188 of file LutNeuronLayerFixedPoint.h.
Referenced by lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::getLutArray(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::load(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::runWithInterpolation(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::save(), and lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::setLutArray().
|
static |
|
static |
|
private |
Definition at line 182 of file LutNeuronLayerFixedPoint.h.
Referenced by lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::getLutOutSum(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::getOutWithOffset(), and lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::runWithInterpolation().
|
static |
|
private |
Definition at line 190 of file LutNeuronLayerFixedPoint.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), production_tasks.Task::getname(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::getName(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::load(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::LutNeuronLayerFixedPoint(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::save(), lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::setName(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 185 of file LutNeuronLayerFixedPoint.h.
Referenced by lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::getOutWithOffset(), and lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >::LutNeuronLayerFixedPoint().
|
static |
|
private |