Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.将SAF概率的值从int变成了float(比如原来只能是1%,现在可以设置为1.1%)
2.添加了新算子:element_multiply(逐元素乘),depthwise convolution(深度可分离卷积,与quantize层有关),droppath(与dropout不同),Swish,Sigmoid
3.为了element_multiply的仿真设计了multiplier乘法器,仿照adder的代码;
TODO:补全乘法器Multiplier.py中的area、power参数
4.添加了ImageNet的接口
TODO:尝试在cifar100和ImageNet上做QAT训练
5.在Network.py中添加了EfficientNet
6.变为多卡训练
7.在layer latency的计算中修正了“相邻层”的序号表示(原来是-1,现在是+input_index[0]),避免了resnet18中出现的负latency
TODO:除此之外还有另外一个layer latency出现负值的bug 出现在alexnet_Imagenet的pooling中,需要考虑为layer latency的计算添加一些特殊条件