torch_sys

Function ato_set_learning_rate

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