Skip to content

Instantly share code, notes, and snippets.

@totucuong
Created July 16, 2018 14:54
Show Gist options
  • Select an option

  • Save totucuong/70ba07826399d08caf529a312daa5aa2 to your computer and use it in GitHub Desktop.

Select an option

Save totucuong/70ba07826399d08caf529a312daa5aa2 to your computer and use it in GitHub Desktop.
Where the rnn cell is unrolled.
https://github.com/tensorflow/tensorflow/blob/r1.9/tensorflow/python/keras/backend.py
Look for
> @tf_export('keras.backend.rnn')
def rnn(step_function,
inputs,
initial_states,
go_backwards=False,
mask=None,
constants=None,
unroll=False,
input_length=None):
"""Iterates over the time dimension of a tensor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment