def METHOD_NAME(self, inputs: Dict) -> Dict:
    """Pre-process activity of the Image Input data.
    Args:
        inputs (Dict): Kserve http request
    Returns:
        Dict: Returns the request input after converting it into a tensor
    """
    return {
        "instances": [image_transform(instance) for instance in inputs["instances"]]
    }