Difference between revisions of "TensorFlow"
Moskalenko (talk | contribs) |
Moskalenko (talk | contribs) |
||
Line 22: | Line 22: | ||
<!--Modules--> | <!--Modules--> | ||
==Required Modules== | ==Required Modules== | ||
− | + | Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application. | |
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==System Variables== | ==System Variables== | ||
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory | * HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory | ||
Line 41: | Line 32: | ||
{{#if: {{#var: exe}}|==Additional Information== | {{#if: {{#var: exe}}|==Additional Information== | ||
− | TensorFlow is | + | TensorFlow has been built from source and optimized for GPGPUs we have. There are two modules. The default module e.g. 'tensorflow/1.7.0' is python3 based. There is a separate py2 moduel e.g. 'tensorflow/1.7.0py2' for legacy scripts. |
− | $ | + | $ python3 |
− | >>> import tensorflow | + | >>> import tensorflow as tf |
− | |||
− | + | A number of useful python modules have been installed within the tensorflow python virtual environment on request e.g. keras. | |
− | + | $ python3 -c 'import keras' | |
− | |||
− | |||
− | |||
− | $ | ||
|}} | |}} | ||
<!--Job Scripts--> | <!--Job Scripts--> |
Revision as of 19:30, 30 April 2018
Description
TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture lets you deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.
Required Modules
Run module spider tensorflow
to find out what environment modules are available for this application.
System Variables
- HPC_{{#uppercase:tensorflow}}_DIR - installation directory
Additional Information
TensorFlow has been built from source and optimized for GPGPUs we have. There are two modules. The default module e.g. 'tensorflow/1.7.0' is python3 based. There is a separate py2 moduel e.g. 'tensorflow/1.7.0py2' for legacy scripts.
$ python3 >>> import tensorflow as tf
A number of useful python modules have been installed within the tensorflow python virtual environment on request e.g. keras.
$ python3 -c 'import keras'
Citation
If you publish research that uses tensorflow you have to cite it as follows:
https://www.tensorflow.org/versions/r0.11/resources/bib.html