google-research / maxim

[CVPR 2022 Oral] Official repository for "MAXIM: Multi-Axis MLP for Image Processing". SOTA for denoising, deblurring, deraining, dehazing, and enhancement.

Home Page:https://arxiv.org/abs/2201.02973

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Addition of 1. in the gating blocks

sayakpaul opened this issue · comments

Why is there an additional of 1 to v in the gating blocks?

An example:

return u * (v + 1.)

@vztu

It's like adding a skip connection: x = u * v + u. Actually doesn't matter that much in terms of performance.

Ah. Didn't even notice that. Pardon my stupidity.