    def forward(self, x, H, W):
        """
        Input: x: (B, H*W, C), H, W
        Output: x: (B, H*W, C)
        """
        x = self.fc1(x)
        x = self.act(x)
        x = self.drop(x)

        x = self.sg(x, H, W)
        x = self.drop(x)

        x = self.fc2(x)
        x = self.drop(x)
        return x
Input: x: (B, H*W, C), H, W
Output: x: (B, H*W, C)
opensora/models/super_resolution/basicsr/archs/rgt_arch.py