Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AttentionWrapper

Index

Constructors

constructor

  • new AttentionWrapper(cells: tf.LSTMCellFunc[], attnLength: number, attnSize: number): AttentionWrapper

Properties

attnBias

attnBias: tf.Tensor1D

attnInputBias

attnInputBias: tf.Tensor1D

attnInputMatrix

attnInputMatrix: tf.Tensor2D

attnLength

attnLength: number

attnMatrix

attnMatrix: tf.Tensor2D

attnOutputBias

attnOutputBias: tf.Tensor1D

attnOutputMatrix

attnOutputMatrix: tf.Tensor2D

attnSize

attnSize: number

attnV

attnV: tf.Tensor2D

attnW

attnW: tf.Tensor4D

cells

cells: tf.LSTMCellFunc[]

Methods

call

initState

initialize

  • initialize(vars: {}): void

Static isWrapped

  • isWrapped(vars: {}): boolean

Generated using TypeDoc