code: def __init__(self, fn, dropout=0.0):
      super().__init__()
      self.fn = fn
      self.dropsample = Dropsample(dropout)
  
imports: from functools import partial
  import torch
  from torch import nn, einsum
  from einops import rearrange, repeat
  from einops.layers.torch import Rearrange, Reduce
label_desc: Use image node_id 1 to create a new MBConvResidual object from inherited base classes: nn with example: obj = MBConvResidual(fn, dropout)