You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/02/12 18:59:27 UTC

[GitHub] [tvm] wx3000 commented on issue #4102: [Relay] Support for Tensorflow 2.0

wx3000 commented on issue #4102:
URL: https://github.com/apache/tvm/issues/4102#issuecomment-778386835


   @srkreddy1238: I am working on a new TF parser from scratch, to be introduced as ~/python/tvm/relay/frontend/tensorflow2.py. I will share this work soon. The new parser will support control flow v2 op(While/If), instead of control flow v1 op (Enter/Exist/Merge). A lot of the existing parser code which deal with control flow v1 are not needed in the new TF parser. The new parser will support TensorList* ops instead of TensorArray* ops. TensorArray* ops are no longer needed in TF2.x models. The new parser will also handle stateful LSTM models (and similar stateful TF models). My goal this year include leveraging the TF XLA infrastructure to simplify the parser.  TF2.x has introduced many significant changes and deprecated some old ways of doing things. So I think a fresh parser is a better way for now. We can still maintain the current parser for a while for TF1.x models. @yongwww : fyi.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org