Hooks: Hooks

Description Usage Arguments Value

View source: R/callbacks_hook.R

Description

Create several hooks on the modules in 'ms' with 'hook_func'.

Usage

1
Hooks(ms, hook_func, is_forward = TRUE, detach = TRUE, cpu = FALSE)

Arguments

ms

ms parameter

hook_func

hook function

is_forward

is_forward or not

detach

detach or not

cpu

cpu or not

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.