In the new software stack TensorFlow 2.0 is available for Python 3.7.4 compiled with GCC 6.3.0. For information regarding the new software stack, please refer the following wiki page.
[sfux@eu-login-26 ~]$ env2lmod [sfux@eu-login-26 ~]$ module load gcc/6.3.0 python/3.7.4 The following have been reloaded with a version change: 1) gcc/4.8.5 => gcc/6.3.0 [sfux@eu-login-26 ~]$ python Python 3.7.4 (default, Oct 16 2019, 13:45:57) [GCC 6.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow >>> tensorflow.__version__ '2.0.0' >>>
TensorFlow 2.x does no longer use sessions like TensorFlow 1.x. For a tutorial regarding TensorFlow 2.0 functionality, please refer to the TensorFlow website.