def METHOD_NAME(self, data):
    input_shape = self.signature['inputs'][0]['data_shape']
    height, width = input_shape[2:]
    img_arr = image.read(data[0])
    img_arr = image.resize(img_arr, width, height)
    img_arr = image.color_normalize(img_arr, nd.array([127.5]), nd.array([127.5]))
    img_arr = image.transform_shape(img_arr)
    return [img_arr]