code: def reset():
      """Resets memory buffers related to contiguous memory optimizations.
      Should be called during eval when multiple forward propagations are
      computed without any backward propagation that usually clears these
      buffers.
      Arguments:
          None
  
      Return:
          None
      """
      if CONTIGUOUS_CHECKPOINTING:
          global data_offsets, size_offsets
          global contiguous_data_buffers, contiguous_size_buffers
  
          for buffers in contiguous_data_buffers:
              buffers = []
  
          # frees up all the pointers to the checkpoints except for the ones
          # stored by save for backward
          contiguous_data_buffers = []
          contiguous_size_buffers = []
          data_offsets = []
          size_offsets = []
  
imports: import copy
  import torch
  import contextlib
  from deepspeed import comm
  import weakref
  import mmap
  from torch import _C
  from deepspeed.runtime.config import DeepSpeedConfig
  from deepspeed.utils import logger
  from deepspeed.runtime.utils import copy_to_device, move_to_device, see_memory_usage, bwc_tensor_model_parallel_rank
  from deepspeed.utils.timer import SynchronizedWallClockTimer, FORWARD_GLOBAL_TIMER
  from deepspeed.accelerator import get_accelerator
label_desc: Use image node_id 19 for calling a global function with example usage: reset() without return types