def make_final_policy(tf_policy_):

    def final_policy(image_, bboxes_):
        for (func, prob, args) in tf_policy_:
            (image_, bboxes_) = _apply_func_with_prob(func, image_, args, prob, bboxes_)
        return (image_, bboxes_)
    return final_policy
def make_final_policy(tf_policy_):

    def final_policy(image_, bboxes_):
        for (func, prob, args) in tf_policy_:
            (image_, bboxes_) = _apply_func_with_prob(func, image_, args, prob, bboxes_)
        return (image_, bboxes_)
    return final_policy