callbacks | fastai
https://fastai1.fast.ai/callbacks.html05.01.2021 · Callbacks implemented in the fastai library. fastai's training loop is highly extensible, with a rich callback system. See the callback docs if you're interested in writing your own callback. See below for a list of callbacks that are provided with fastai, grouped by the module they're defined in.
Model hooks | fastai
https://docs.fast.ai/callback.hook.html29.11.2021 · from fastai.test_utils import * What are hooks? Hooks are functions you can attach to a particular layer in your model and that will be executed in the forward pass (for forward hooks) or backward pass (for backward hooks).
Learner, Metrics, and Basic Callbacks | fastai
https://docs.fast.ai/learner29.11.2021 · Callback s are used for every tweak of the training loop. Each Callback is registered as an attribute of Learner (with camel case). At creation, all the callbacks in defaults.callbacks ( TrainEvalCallback, Recorder and ProgressCallback) are associated to the Learner. metrics is an optional list of metrics, that can be either functions or Metric ...