Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend] [Tensorflow] ReadVariableOp operator #86

Closed
wants to merge 5 commits into from

Conversation

maheshambule
Copy link

@maheshambule maheshambule commented Feb 24, 2020

The ReadVariableOp gets eliminated when you freeze the TensorFlow graph and is not needed for the inference.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/framework/graph_util_impl.py#L464

If we find a ReadVariableOp in a TF graph, we error out and ask for a frozen graph.

TODO -
Another approach is to freeze the unfrozen graph in from_tensorflow API itself.

@maheshambule maheshambule changed the title ReadVariableOp tensorflow frontend [Frontend] [Tensorflow] ReadVariableOp operator Feb 24, 2020
@maheshambule maheshambule requested a review from zhiics February 24, 2020 17:10
@maheshambule
Copy link
Author

Created the PR on upstream hence closing this one. apache#4952

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant