def METHOD_NAME(self, batch_data, config):
    max_len = config.get("hyper_parameters.max_len", 3)
    sparse_tensor = []
    for b in batch_data[:-2]:
        sparse_tensor.append(
            paddle.to_tensor(b.numpy().astype('int64').reshape(-1,
                                                               max_len)))
    ctr_label = paddle.to_tensor(batch_data[-2].numpy().astype('int64')
                                 .reshape(-1, 1))
    ctcvr_label = paddle.to_tensor(batch_data[-1].numpy().astype('int64')
                                   .reshape(-1, 1))
    return sparse_tensor, ctr_label, ctcvr_label