-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extract tf.function decorator arguments #136
Comments
|
Understood, thanks. Yeah, I updated that to make it more clear in the description. I believe we will need information both on the function and on the decorator, but this issue is related to the decorator's parameter values. |
parameter values = arguments (title simplification) |
Isn't this the same as #111? |
Yes, it seems that way. |
Dupe of #111. |
Currently, we are not dealing with
tf.function
decorator parameter values, just with the existence of those parameters.Do we need dataflow or does parsing literals enough? How often are variables used to decorator arguments? Can we tell when variables are used? If we go only with literals, can we throw an exception when a variable is used so that we know how many times this happens. Better yet, we can "fail" the function by adding a precondition failure to the function. In other words, if we can't exact the decorator argument, chances are we won't be able to get a good handle on the function's status.
The text was updated successfully, but these errors were encountered: