Skip to content
Ontology docs

Documentation generated from LinkML

Class: LSTMLayer

Long Short-Term Memory layer - Hochreiter 1997. Based on available runtime hardware and constraints, this layer will choose different implementations (cuDNN-based or pure-TensorFlow) to maximize the performance. If a GPU is available and all the arguments to the layer meet the requirement of the cuDNN kernel (see below for details), the layer will use a fast cuDNN implementation. The requirements to use the cuDNN implementation are: 1. activation == tanh, 2. recurrent_activation == sigmoid, 3. recurrent_dropout == 0, 4. unroll is False, 5. use_bias is True, 6. Inputs, if use masking, are strictly right-padded, 7. Eager execution is enabled in the outermost context.

  • Title: LSTM Layer
  • Canonical name: LstmLayer
  • Names in code: LstmLayer (Scala, TypeScript, Python, Java, GraphQL)
  • URI: aio:LSTMLayer (https://w3id.org/aio/LSTMLayer)
  • Parent: RecurrentLayer

Inheritance