class_docstr: Simple model saver to filesystem
class_docstr_tok: ["Simple","model","saver","to","filesystem"]
code: def _rm_checkpoint(self, name):
      if os.path.exists(name):
          os.remove(name)
  
file_path: OpenNMT-py/onmt/models/model_saver.py
imports: import os
  import torch
  import re
  from collections import deque
  from onmt.utils.logging import logger
  from onmt.inputters.inputter import vocabs_to_dict
  from onmt.modules.lora import lora_state_dict
label_desc: Use image node_id 3 for calling the ModelSaver obj's underlying member method code with example usage: obj._rm_checkpoint(name) without return types