tag | 4b2e94998bec06a54a94cdfbaa4c516e8930cf13 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue May 08 10:24:36 2018 -0700 |
object | 4e1c5c76c5289019d10544b4797fe763f2b6b231 |
Android p preview 2
commit | 4e1c5c76c5289019d10544b4797fe763f2b6b231 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Tue Apr 17 14:27:54 2018 -0700 |
committer | Miao Wang <miaowang@google.com> | Mon May 07 11:19:38 2018 -0700 |
tree | dc026749c28f632648929c396392d4c8deedd784 | |
parent | 78bd57f0233fcee07bd7e450075aeaac3d0a7c84 [diff] |
Fix NNAPI delegation: no scratch tensors and scale 0 for floats - TFLite has temporary (scratch) tensors needed for its own CPU implementation - Delegating temporary tensors to NNAPI will cause validation failure, as they are not used - This CL skips such temporaries for CONV_2D operations - others may need to be added later - Setting non-zero scale for 32-bit float tensors causes validation errors - Also added delegation for MUL. Change-Id: I62dfaa53f4cdffd0d1dcedb28d181b8c92755ca8 Test: build and run NNAPI benchmarking app (cherry picked from commit 5d76b8948cffad3196df4b2d0d3fedc54f9061b2)
Documentation | Linux CPU | Linux GPU | Mac OS CPU | Windows CPU | Android |
---|---|---|---|---|---|
TensorFlow is an open source software library for numerical computation using data flow graphs. The graph nodes represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture enables you to 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.
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.
Keep up to date with release announcements and security updates by subscribing to announce@tensorflow.org.
See Installing TensorFlow for instructions on how to install our release binaries or how to build from source.
People who are a little more adventurous can also try our nightly binaries:
Nightly pip packages
pip install tf-nightly
or pip install tf-nightly-gpu
in a clean environment to install the nightly TensorFlow build. We support CPU and GPU packages on Linux, Mac, and Windows.Individual whl files
$ python
>>> import tensorflow as tf >>> hello = tf.constant('Hello, TensorFlow!') >>> sess = tf.Session() >>> sess.run(hello) 'Hello, TensorFlow!' >>> a = tf.constant(10) >>> b = tf.constant(32) >>> sess.run(a + b) 42 >>> sess.close()
If you want to contribute to TensorFlow, be sure to review the contribution guidelines. This project adheres to TensorFlow's code of conduct. By participating, you are expected to uphold this code.
We use GitHub issues for tracking requests and bugs. So please see TensorFlow Discuss for general questions and discussion, and please direct specific questions to Stack Overflow.
The TensorFlow project strives to abide by generally accepted best practices in open-source software development:
Learn more about the TensorFlow community at the community page of tensorflow.org for a few ways to participate.