HookCallback: HookCallback

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

HookCallbackR Documentation

HookCallback

Description

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

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

Usage

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 March 21, 2022, 9:07 a.m.