Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fdrdrive
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
fdrdrive
9y ago
I don't understand how that's related.
2.
▲
by
fdrdrive
9y ago
I see - you're talking about a use case like this: https://github.com/google/seq2seq/blob/4c3582741f846a19195ac... I agree that you have to use a tf.while_loop in those cases. But then tf.scan isn't
3.
▲
by
fdrdrive
9y ago
I don't follow. tf.scan will execute as many time steps as there are elements in the input series, which is the same behavior you'd get with tf.while_loop or tf.dynamic_rnn. It does not execute for a fixed number of time steps, w
4.
▲
by
fdrdrive
9y ago
I think that's covered in the article - there's a passage on using `tf.scan` when the `tf.dynamic_rnn` abstraction won't cut it. `tf.scan` is more flexible than `tf.dynamic_rnn`, but provides a little more scaffolding for RNN