[WIP - don't merge][TF generate] Make tf generate compatible with tf.function
The tf generate function shoud be cleaned up so that it can be used with tf.function.
is this still being worked on?<|||||>I won't be able to take a look in the next ~2 weeks. Feel free to continue the PR :-) <|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||>@patrickvonplaten can I ask whether this change is still working on? Will we be able to get one example for greedy search with tf function compatible? Thanks.<|||||>Thank you for all the amazing work! This library is too good to be true and this would be a really good feature to have if possible and when possible! 