class_docstr: The Inverted Residual Block, with channel shuffle or eSEModule.
class_docstr_tok: ["The","Inverted","Residual","Block",",","with","channel","shuffle","or","eSEModule","."]
code: def forward(self, x):
      if self.use_res_connect:
          return x + self.ir_block(x)
      else:
          return self.ir_block(x)
  
imports: from __future__ import absolute_import, division, print_function
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 2 for calling the MBBlock obj's underlying member method code with example usage: obj.forward(x) and returns: unknown, self