Hacker News new | ask | show | jobs
by fdrdrive 3266 days 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 an option, so I don't understand what you mean by 'quit early' or 'saves time'.

When tf.scan is possible, i.e. when you have an input sequence you want to scan over, it is a perfectly good option.

1 comments

Unless you want to execute the structure on multiple GPUs.
I don't understand how that's related.