README.md 3.2 KB
Newer Older
1 2
#TensorFlow

3 4 5 6
Linux CPU [![Build Status](http://ci.tensorflow.org/buildStatus/icon?job=tensorflow-master)](http://ci.tensorflow.org/job/tensorflow-master)
Linux GPU PIP [![Build Status](http://ci.tensorflow.org/buildStatus/icon?job=tensorflow-master-gpu_pip)](http://ci.tensorflow.org/job/tensorflow-master-gpu_pip)
Mac OS CPU [![Build Status](http://ci.tensorflow.org/buildStatus/icon?job=tensorflow-master-mac)](http://ci.tensorflow.org/job/tensorflow-master-mac)
Android [![Build Status](http://ci.tensorflow.org/buildStatus/icon?job=tensorflow-master-android)](http://ci.tensorflow.org/job/tensorflow-master-android)
7

8 9 10 11 12 13 14 15 16 17 18
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.

19 20 21 22 23 24 25 26

**Note: Currently we do not accept pull requests on github -- see
[CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute code
changes to TensorFlow through
[tensorflow.googlesource.com](https://tensorflow.googlesource.com/tensorflow)**

**We use [github issues](https://github.com/tensorflow/tensorflow/issues) for
tracking requests and bugs, but please see
27 28
[Community](tensorflow/g3doc/resources/index.md#community) for general questions
and discussion.**
29

30 31
# Download and Setup

32 33 34
To install the CPU version of TensorFlow using a binary package, see the
instructions below.  For more detailed installation instructions, including
installing from source, GPU-enabled support, etc., see
35
[here](tensorflow/g3doc/get_started/os_setup.md).
36 37 38

## Binary Installation

39
The TensorFlow Python API supports Python 2.7 and Python 3.3+.
40

41 42
The simplest way to install TensorFlow is using
[pip](https://pypi.python.org/pypi/pip) for both Linux and Mac.
43

44 45 46
For the GPU-enabled version, or if you encounter installation errors, or for
more detailed installation instructions, see
[here](tensorflow/g3doc/get_started/os_setup.md#detailed_install).
47

48
### Ubuntu/Linux 64-bit
49

50
```bash
51
# For CPU-only version
52
$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
53 54 55 56
```

### Mac OS X

57 58 59
```bash
# Only CPU-version is available at the moment.
$ pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
60 61 62 63 64 65 66 67 68 69
```

### Try your first TensorFlow program

```sh
$ python

>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
70
>>> sess.run(hello)
71 72 73
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
74
>>> sess.run(a+b)
75 76 77 78 79
42
>>>

```

80 81 82
##For more information

* [TensorFlow website](http://tensorflow.org)
83
* [TensorFlow whitepaper](http://download.tensorflow.org/paper/whitepaper2015.pdf)