def METHOD_NAME(self, infer_data):
    logits = np.array(infer_data[0])
    max_value = np.max(logits, axis=1, keepdims=True)
    exp_data = np.exp(logits - max_value)
    probs = exp_data / np.sum(exp_data, axis=1, keepdims=True)
    out_dict = {"label": probs.argmax(axis=-1), "confidence": probs}
    return out_dict