code: def __init__(self, blocks: nn.ModuleList):
      super().__init__()
  
      # pyre-fixme[23]: Unable to unpack `torch.nn.Module` into 2 values.
      self.blocks = nn.ModuleList(
          [ReversibleBlock(f, g) for f, g in blocks]
      )
  
imports: from typing import List
  import torch
  import torch.nn
  from torch.autograd.function import Function
  from torch.utils.checkpoint import get_device_states, set_device_states
  from xformers.components import RequiresWrappedInputs
label_desc: Use image node_id 1 to create a new ReversibleSequence object from inherited base classes: nn with example: obj = ReversibleSequence(blocks)