While loop dispatch depends only on whether variables directly referenced in...
While loop dispatch depends only on whether variables directly referenced in the condition are tensors. This fixes a bug where a variable in an inner loop could be referenced before creation. These variables would be used in the AG while_stmt to determine whether to dispatch to tf.while_loop or run the Python loop. PiperOrigin-RevId: 210550604
Loading
Please sign in to comment