Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jamesr66a
Created April 10, 2018 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesr66a/bc26918bcdb3fb6ae542984a0b971915 to your computer and use it in GitHub Desktop.
Save jamesr66a/bc26918bcdb3fb6ae542984a0b971915 to your computer and use it in GitHub Desktop.
scan_outputs_0 = ...
hidden_0 = ...
for t in range(timesteps):
scan_outputs_0[t], hidden_0 = LSTM(inputs[t], hidden_0)
scan_outputs_1 = ...
hidden_1 = ...
for t in range(timesteps):
scan_outputs_1[t], hidden_1 = LSTM(scan_outputs_0[t], hidden_1)
scan_outputs_2 = ...
hidden_2 = ...
for t in range(timesteps):
scan_outputs_2[t] = LSTM(scan_outputs_1[t], hidden_2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment