class_docstr: Residual in Residual Dense Block
  (ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks)
class_docstr_tok: ["Residual","in","Residual","Dense","Block","(","ESRGAN",":","Enhanced","Super-Resolution","Generative","Adversarial","Networks",")"]
code: def forward(self, x):
      if hasattr(self, "RDB1"):
          out = self.RDB1(x)
          out = self.RDB2(out)
          out = self.RDB3(out)
      else:
          out = self.RDBs(x)
      return out * 0.2 + x
  
imports: from collections import OrderedDict
  import math
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 2 for calling the RRDB obj's underlying member method code with example usage: obj.forward(x) and returns: unknown