code: def __init__(self, blocks, args_route={}):
      super().__init__()
      self.args_route = args_route
      self.blocks = nn.ModuleList(
          [ReversibleBlock(f=f, g=g) for f, g in blocks]
      )
  
imports: import torch
  import torch.nn
  from operator import itemgetter
  from torch.autograd.function import Function
  from torch.utils.checkpoint import get_device_states, set_device_states
label_desc: Use image node_id 1 to create a new ReversibleSequence object from inherited base classes: nn with example: obj = ReversibleSequence(blocks, args_route)