code: def save_edge(edges_src, name):
      tmp = edges_src.detach().clone().squeeze().numpy()
      tmp[tmp == 1] == 255
      imageio.imwrite("edge_pics/edge_{}.png".format(name), tmp)
  
file_path: PaddleSeg/contrib/DomainAdaptation/utils/utils.py
imports: import paddle
  import os
  import cv2
  import imageio
  import numpy
  from paddleseg.utils import logger
  import PIL
label_desc: Use image node_id 2 for calling a global function with example usage: save_edge(edges_src, name) without return types