def METHOD_NAME(model, mk16, qk16, pos_mask, neg_mask):
    input_names = model.get_input_names()
    mk16_handle = model.get_input_handle(input_names[0])
    qk16_handle = model.get_input_handle(input_names[1])
    pos_handle = model.get_input_handle(input_names[2])
    neg_handle = model.get_input_handle(input_names[3])
    mk16_handle.copy_from_cpu(mk16)
    qk16_handle.copy_from_cpu(qk16)
    pos_handle.copy_from_cpu(pos_mask)
    neg_handle.copy_from_cpu(neg_mask)
    model.run()
    output_names = model.get_output_names()
    output_handle = model.get_output_handle(output_names[0])
    result = output_handle.copy_to_cpu()
    return result