code: def append_name(name, postfix):
      """append name with postfix"""
      if name is None:
          ret = None
      elif name == "":
          ret = postfix
      else:
          ret = "%s_%s" % (name, postfix)
      return ret
  
imports: import logging
  import re
  import time
  import paddle
  from paddle import nn
  from paddle.nn import functional
label_desc: Use image node_id 3 for calling a global function with example usage: append_name(name, postfix) and returns: ret