def METHOD_NAME(self, data):
    """
    The post process function converts the prediction response into a
       Torchserve compatible format
    Args:
        data (Torch Tensor): The data parameter comes from the prediction output
        output_explain (None): Defaults to None.
    Returns:
        (list): Returns the response containing the predictions which consist of a single score per input entry.
    """
    result = []
    for item in data:
        res = {}
        res["score"] = item.squeeze().float().tolist()
        result.append(res)
    return result