neurosim / DNN_NeuroSim_V1.3

Benchmark framework of compute-in-memory based accelerators for deep neural network (inference engine focused)
62 stars 36 forks source link

Divide by 2 in `maxLayerInput` computation #21

Open sepehrMSP opened 2 years ago

sepehrMSP commented 2 years ago

Hi, Why there is a divide by 2 in the following line? maxLayerInput += netStructure[i][IFM_LENGTH]*netStructure[i][IFM_WIDTH]*netStructure[i][IFM_CHANNEL_DEPTH]/2 (could be found in chip.cpp, ChipInitialize function) @neurosim