This function provides an interface to the flair.nn
module from the Flair library.
The flair.nn
module encompasses various sub-modules such as:
decoder
distance
dropout
loss
model
multitask
recurrent
Model
Classifier
PrototypicalDecoder
LockedDropout
WordDropout