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:

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:

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!
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:
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:
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!