def METHOD_NAME(self, data):
    """
    This method considers only one input data
    :param data: Data is list of map
    format is
    [
    {
        "parameterName": name
        "parameterValue": data
    },
    {...}
    ]
    :return:
    """
    param_name = self.signature['inputs'][0]['data_name']
    input_shape = self.signature['inputs'][0]['data_shape']
    img = data[0].get(param_name)
    if img is None:
        raise IOError("Invalid parameter given")
    # We are assuming input shape is NCHW
    [h, w] = input_shape[2:]
    img_arr = mx.img.imdecode(img)
    img_arr = mx.image.imresize(img_arr, w, h)
    img_arr = img_arr.astype(np.float32)
    img_arr /= 255
    img_arr = mx.image.color_normalize(img_arr,
                                       mean=mx.nd.array([0.485, 0.456, 0.406]),
                                       std=mx.nd.array([0.229, 0.224, 0.225]))
    img_arr = mx.nd.transpose(img_arr, (2, 0, 1))
    img_arr = img_arr.expand_dims(axis=0)
    return img_arr