code: def one_infer(inputs, ls_model, hf_model):
      ls_generate(ls_model, inputs)
  
imports: import time
  import requests
  from PIL import Image
  import torch
  from transformers import ViTFeatureExtractor, ViTForImageClassification, ViTConfig
  import lightseq.inference
  from lightseq.training.ops.pytorch.quantization import qat_mode
  from lightseq.training.ops.pytorch.torch_transformer_layers import TransformerEncoderLayer
  from export.util import parse_args
label_desc: Use image node_id 5 for calling a global function with example usage: one_infer(inputs, ls_model, hf_model) without return types