Hi@akhtar,
Tensorflow 2.0 has eager_execution enabled by default and so there is no need for you to run enable_eager_execution. Only if you are running versions below 2.0 then, you have to enable eager execution.
$ conda update tensorflow
Hope this will clear your doubt.