Unverified Commit c9b4689b authored by gehring's avatar gehring Committed by GitHub
Browse files

Removed no longer supported call to in_eager_execution

changes to model_analyser.analyse(...):
- Swapped context.in_eager_execution() to the currently supported context.executing_eagerly().
- Added negation to eager check. In all likelihood, the negation was always supposed to be there since getting default graph in eager mode does not make sense. The current `if` condition is likely a bug. The proposed fix is consistent with other functions in this module, e.g., `profile(...)`, line 339.
parent e6d171a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment