I have a model that have Squeeze & Excitation blocks in it. When I try to run optimization on it, I get errors on the avgpool Shift delta. Are models with S&E blocks not supported?

It can be don be using the following alls commands when running optimization:

*pre_quantization_optimization(se_optimization, method=tse, mode=sequential, count=X, tile_height=Y)*

where X is the number of SE blocks in the model and Y is the number in which the avgpool kernel would be divided by (if the kernel is 40 and Y=5, then the kernel applied would be 8).

You can read about the mechanism in the article: