TensorFlow is an open source software library for machine learning.

Category:  Numerical Library

Availability:  Open access for all academic users.

Usage Notes:

  • Load the module file for tensorflow
  • The library has been installed for both python 2.7 and 3.5
  • Activate the python environment

[ccruser@rush:~]$ module load tensorflow

[ccruser@rush:~]$ which python


[ccruser@rush:~]$ conda info --envs

# conda environments:


tensorflow-py27          /util/academic/tensorflow/anaconda/envs/tensorflow-py27

tensorflow-py35          /util/academic/tensorflow/anaconda/envs/tensorflow-py35

root                  *  /util/academic/tensorflow/anaconda

[ccruser@rush:~]$ source activate tensorflow-py27

(tensorflow-py27) [ccruser@rush:~]$ python

Python 2.7.12 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:42:40) 

[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

Anaconda is brought to you by Continuum Analytics.

Please check out: http://continuum.io/thanks and https://anaconda.org

>>> import tensorflow as tf

>>> hello = tf.constant('Hello, TensorFlow!')

>>> sess = tf.Session()

>>> print(sess.run(hello))

Hello, TensorFlow!

>>> quit()

(tensorflow-py27) [ccruser@rush:~]$ source deactivate