Skip to content

MAdds mismatch problem  #227

@WUSHUANGPPP

Description

@WUSHUANGPPP

I am very interesting in this excellent work:RNNPool Effificient Non-linear Pooling for RAM Constrained Inference.
However,I met some problems when I reproduce the MAdds of resnet18 on the following chart:
image
It‘s 0.95G when the layer1.layer2 and maxpooling are replaced by rnnpooling layer.I reproduce the MAdds of RNNPooling layer of input size : (1,3,224,224) which is 0.334G(334430208) in the following approach:
image
Because most calculation about rnnpooling come from FastGRNNCell.The above picture is forward function of FastGRNNCell.I use the variable count to accumulate the operation times.
Hence,I got the result MAdds of rnnpooling layer:0.334G(334430208).The counterpart MAdds of resnet18(exclude layer 1,layer 2,maxpooling) is 0.91G(910880768). So could you please tell me how did you calculate the overall MAdds 0.95G of resnet18 with RNNPool layer?Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions