code: def preprocess(self, image_path):
      func = self.preprocess_func[self.args.s][self.args.preprocess]
      return func(image_path)
  
file_path: MMdnn/mmdnn/conversion/examples/imagenet_test.py
imports: from __future__ import absolute_import
  import argparse
  import numpy
  from six import text_type
  from PIL import Image
label_desc: Use image node_id 7 for calling the TestKit obj's underlying member method code with example usage: obj.preprocess(image_path) and returns: func