HookCallback: HookCallback

Description Usage Arguments Value

View source: R/callbacks.R View source: R/callbacks_hook.R

Description

'Callback' that can be used to register hooks on 'modules'

'Callback' that can be used to register hooks on 'modules'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
HookCallback(
  modules = NULL,
  every = NULL,
  remove_end = TRUE,
  is_forward = TRUE,
  detach = TRUE,
  cpu = TRUE
)

HookCallback(
  modules = NULL,
  every = NULL,
  remove_end = TRUE,
  is_forward = TRUE,
  detach = TRUE,
  cpu = TRUE
)

Arguments

modules

modules

every

every

remove_end

remove_end or not

is_forward

is_forward or not

detach

detach or not

cpu

cpu or not

Value

None

None


fastai documentation built on July 28, 2021, 5:06 p.m.