code: def forward(ctx, x, blocks, args):
      ctx.args = args
      for block, kwarg in zip(blocks, args):
          x = block(x, **kwarg)
      ctx.y = x.detach()
      ctx.blocks = blocks
      return x
  
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 for calling the _ReversibleFunction obj's underlying member method code with example usage: obj.forward(ctx, x, blocks, args) and returns: x