Skip to content

Computation using data flow graphs for scalable machine learning

License

Notifications You must be signed in to change notification settings

TeeeJay/tensorflow

Repository files navigation

#TensorFlow

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 was originally developed by researchers and engineers working on the Google Brain team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research. The system is general enough to be applicable in a wide variety of other domains, as well.

Download and Setup

For detailed installation instructions, see here.

Binary Installation

Ubuntu/Linux

Make sure you have pip installed:

$ sudo apt-get install python-pip

Install TensorFlow:

# For CPU-only version
$ sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

# For GPU-enabled version
$ sudo pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

Mac OS X

Make sure you have pip installed:

If using easy_install:

$ sudo easy_install pip

Install TensorFlow (only CPU binary version is currently available).

$ sudo pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl

Try your first TensorFlow program

$ python

>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print sess.run(hello)
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> print sess.run(a+b)
42
>>>

##For more information

About

Computation using data flow graphs for scalable machine learning

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 49.9%
  • Python 42.4%
  • Jupyter Notebook 3.4%
  • Go 1.7%
  • Shell 0.6%
  • Java 0.6%
  • Other 1.4%