code: def inference(model, data, postprocessor):
      net_out = model(data["img"])
  
      trans_info = data.get("trans_info", None)
      if trans_info is not None:
          assert len(trans_info) == 1
          trans_info = trans_info[0]
          net_out = reverse_transform(net_out, trans_info)
  
      pp_out = postprocessor(data, net_out)
  
      return pp_out
  
imports: import paddle
  import paddle.nn.functional
label_desc: Use image node_id 3 for calling a global function with example usage: inference(model, data, postprocessor) and returns: pp_out