If that is the case, you should to define them in a. Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. Cause: Unable to locate the source code of. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Please report this to the AutoGraph team. WARNING: Entity could not be transformed and will be executed as-is. If you are certain the code is graph-compatible, wrap the call using Original error: could not get source code
Gast version : 0.2.2 ( checked with command 'pip freeze')ĭ = tf._tensor_slices() ( I was looking at this example )ĭ = d.filter(lambda x: x could not be transformed and will be executed as-is. In fact, it is one of the demonstrated usages of the API.
I am witnessing identical issue with a very simple command.