MCPcopy Create free account
hub / github.com/YichenGong/Densely-Interactive-Inference-Network / biLSTM

Function biLSTM

python/util/blocks.py:28–43  ·  view source on GitHub ↗

A Bi-Directional LSTM layer. Returns forward and backward hidden states as a tuple, and cell states as a tuple. Ouput of hidden states: [(batch_size, max_seq_length, hidden_dim), (batch_size, max_seq_length, hidden_dim)] Same shape for cell states.

(inputs, dim, seq_len, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected