class_docstr: ModelService wraps up all preprocessing, inference and postprocessing
  functions used by model service. It is defined in a flexible manner to
  be easily extended to support different frameworks.
class_docstr_tok: ["ModelService","wraps","up","all","preprocessing",",","inference","and","postprocessing","functions","used","by","model","service",".","It","is","defined","in","a","flexible","manner","to","be","easily","extended","to","support","different","frameworks","."]
docstr: Wrapper function to run pre-process, inference and post-process functions.
  
  Parameters
  ----------
  data : list of object
      Raw input from request.
  
  Returns
  -------
  list of outputs to be sent back to client.
      data to be sent back
docstr_tok: ["Wrapper","function","to","run","pre-process",",","inference","and","post-process","functions",".","Parameters","--","--","--","--","--","data",":","list","of","object","Raw","input","from","request",".","Returns","--","--","--","-","list","of","outputs","to","be","sent","back","to","client",".","data","to","be","sent","back"]
code: def inference(self, data):
      """
      Wrapper function to run pre-process, inference and post-process functions.
  
      Parameters
      ----------
      data : list of object
          Raw input from request.
  
      Returns
      -------
      list of outputs to be sent back to client.
          data to be sent back
      """
      # pylint: disable=unnecessary-pass
      pass
  
file_path: serve/ts/model_service/model_service.py
imports: import ast
  import json
  import logging
  import os
  import time
  from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 3 for calling the ModelService obj's underlying member method code with example usage: obj.inference(data) without return types