aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/README.md
diff options
context:
space:
mode:
authorGravatar Vijay Vasudevan <vrv@google.com>2016-02-17 11:42:30 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-02-17 12:56:41 -0800
commitfe056f0b5e52db86766761f5e6446a89c1aa3938 (patch)
tree68bce0e257d181a3fa37f83c97fdff0fdad877fc /tensorflow/contrib/README.md
parent19d632338f983e02dd0268b931e9cced03b74805 (diff)
Merge changes from github.
Change: 114882676
Diffstat (limited to 'tensorflow/contrib/README.md')
-rw-r--r--tensorflow/contrib/README.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/tensorflow/contrib/README.md b/tensorflow/contrib/README.md
index 61ded454c8..e3c19b7ea2 100644
--- a/tensorflow/contrib/README.md
+++ b/tensorflow/contrib/README.md
@@ -4,8 +4,20 @@ Any code in this directory is not officially supported, and may change or be
removed at any time without notice.
The contrib directory contains project directories, each of which has designated
-owners.
+owners. It is meant to contain features and contributions that eventually should
+get merged into core TensorFlow, but whose interfaces may still change, or which
+require some testing to see whether they can find broader acceptance. We are
+trying to keep dupliction within contrib to a minimum, so you may be asked to
+refactor code in contrib to use some feature inside core or in another project
+in contrib rather than reimplementing the feature.
When adding a project, please stick to the following directory structure:
-Create a project directory in contrib/, and mirror the portions of the
-TensorFlow tree that your project requires underneath contrib/my_project/.
+Create a project directory in `contrib/`, and mirror the portions of the
+TensorFlow tree that your project requires underneath `contrib/my_project/`.
+
+For example, let's say you create foo ops in two files: `foo_ops.py` and
+`foo_ops_test.py`. If you were to merge those files directly into TensorFlow,
+they would live in `tensorflow/python/ops/foo_ops.py` and
+`tensorflow/python/kernel_tests/foo_ops_test.py`. In `contrib/`, they are part
+of project `foo`, and their full paths are `contrib/foo/python/ops/foo_ops.py`
+and `contrib/foo/python/kernel_tests/foo_ops_test.py`.