.FastAILearningTask
abstract type defined in module
FastAI
abstract type LearningTask
Represents a concrete approach for solving a learning task.
A
LearningTask defines how data is processed encoded and decoded before and after going through a model.
It is recommended to use
AbstractBlockTasks like
BlockTask and
SupervisedTask to construct tasks, but you may subtype
LearningTask for lower-level control.
There is a core interface that will allow you to train models and perform inference (for supervised tasks). It consists of
You can optionally implement additional interfaces to get support for higher-level features of the library.
Training interface:
tasklossfn,
taskmodel
Testing interface:
mocksample,
mockinput,
mocktarget,
mockmodel
Batching:
shouldbatch
The following pages link back here:
Custom learning tasks, fastai API comparison
datablock/task.jl , interpretation/task.jl , learner.jl , serialization.jl , tasks/task.jl , tasks/taskdata.jl , training/utils.jl