Skip to content

CC-IBP

CC-IBP entry point for the common expressive IBP trainer.

cc_ibp_train_model(*args, **kwargs)

Train CC-IBP using the shared expressive IBP training procedure.

Arguments follow expressive_ibp_train_model; this entry point selects the method-specific loss while reusing its schedules and training loop.

Source code in CTRAIN/train/certified/cc_ibp.py
 6
 7
 8
 9
10
11
12
def cc_ibp_train_model(*args, **kwargs):
    """Train CC-IBP using the shared expressive IBP training procedure.

    Arguments follow expressive_ibp_train_model; this entry point selects the
    method-specific loss while reusing its schedules and training loop.
    """
    return expressive_ibp_train_model(*args, **kwargs, loss_func=get_cc_ibp_loss, method='cc_ibp')