code: def predict_wraper(model, input_sample):
      with torch.inference_mode():
          model(input_sample)
  
file_path: BigDL/python/chronos/example/inference-acceleration/cpu_inference_acceleration.py
imports: import torch
  from bigdl.chronos.pytorch import TSTrainer
  from bigdl.chronos.model.tcn import model_creator
  from bigdl.chronos.metric import Evaluator
  from bigdl.chronos.data import get_public_dataset
  from sklearn.preprocessing import StandardScaler
  from bigdl.chronos.pytorch import TSInferenceOptimizer
label_desc: Use image node_id 2 for calling a global function with example usage: predict_wraper(model, input_sample) without return types