code: def checkpoint(func, inputs, params, flag):
      """
      This function is disabled. And now just forward.
      """
      return func(*inputs)
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/reverse_diffusion/model/nn.py
imports: import math
  import paddle
  import paddle.nn
label_desc: Use image node_id 10 for calling a global function with example usage: checkpoint(func, inputs, params, flag) and returns: func