code: def infer(self, inputs):
      last_hidden_states = self.ls_vit.infer(inputs)
      last_hidden_states = (
          torch.Tensor(last_hidden_states).float().cuda()
      )
      logits = self.classifier(last_hidden_states[:, 0, :])
      return logits
  
file_path: lightseq/examples/inference/python/test/ls_vit_bench.py
imports: import time
  import torch
  import lightseq.inference
  from transformers import ViTFeatureExtractor, ViTForImageClassification, ViTModel
  from PIL import Image
  import requests
label_desc: Use image node_id 2 for calling the LightseqVitClassification obj's underlying member method code with example usage: obj.infer(inputs) and returns: logits