torch_sys

Function ato_set_weight_decay

source
pub unsafe extern "C" fn ato_set_weight_decay(
    arg: *mut C_optimizer,
    weight_decay: f64,
)