R/callbacks_hook.R
Hooks.Rd
Create several hooks on the modules in `ms` with `hook_func`.
Hooks(ms, hook_func, is_forward = TRUE, detach = TRUE, cpu = FALSE)
ms parameter
hook function
is_forward or not
detach or not
cpu or not
None