def METHOD_NAME(self, batch):
    """
    Transform raw input into model input data.
    :param batch: list of raw requests, should match batch size
    :return: list of preprocessed model input data
    """
    assert self._batch_size == len(batch), "Invalid input batch size: {}".format(len(batch))
    ret = []
    param_name = self.signature['inputs'][0]['data_name']
    for idx, request in enumerate(batch):
        data = request.get(param_name)
        if data is None:
            data = request.get("body")
        if data is None:
            data = request.get("data")
        ret.append(map(mx.nd.array, data))
    return ret