code: def save_depoly(net, input, save_path):
      input_spec = [
          paddle.static.InputSpec(
              shape=[None, 3, None, None], dtype="float32"
          )
      ]
      net = paddle.jit.to_static(net, input_spec=input_spec)
  
      # save static model for inference directly
      paddle.jit.save(net, save_path)
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/tools/predict.py
imports: import os
  import sys
  import pathlib
  import time
  import cv2
  import paddle
  from data_loader import get_transforms
  from models import build_model
  from post_processing import get_post_processing
label_desc: Use image node_id 2 for calling a global function with example usage: save_depoly(net, input, save_path) without return types