Skip to content

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

Usage

flair_nn()

Value

A reference to Flair's neural network module (flair.nn).

Examples

if (FALSE) { # \dontrun{
  flair_nn_module <- flair_nn()
  Classifier <- flair_nn_module$Classifier
} # }