code: def _cycliclrsaver(obj, path):
      state_dict = obj.state_dict()
      if state_dict.get("_scale_fn_ref") is not None:
          state_dict["_scale_fn_ref"] = WEAKREF_MARKER
      torch.save(state_dict, path)
  
imports: import torch
  import weakref
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: _cycliclrsaver(obj, path) without return types