From f2102f4e2c1c87f1d1bf9ab856a2849c54478760 Mon Sep 17 00:00:00 2001 From: Vijay Vasudevan Date: Wed, 11 Nov 2015 18:45:21 -0800 Subject: TensorFlow: upstream changes from the afternoon. Changes: - futurize --stage2 changes for Python 3 compatibility by @girving. - Small updates to documentation by @vrv, schuster and others - Account for failure of std::thread::hardware_concurrency by @ebrevdo. - More changes for backwards-compatibility tests by Josh - Updates to python op doc generation by Josh - Added support for using the best-fit allocator via ConfigProto by @vrv. - Rename LocalSession to DirectSession, since local was a bad name for it. - Enable tf.nn.moments() to work with tensors of unknown shape by @mrry. GITHUB_ISSUE: 139 - Changes for Android build by Andrew. Base CL: 107645181 --- tensorflow/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tensorflow/__init__.py') diff --git a/tensorflow/__init__.py b/tensorflow/__init__.py index 3e28aa85ec..ddf5b30211 100644 --- a/tensorflow/__init__.py +++ b/tensorflow/__init__.py @@ -1,4 +1,8 @@ # Bring in all of the public TensorFlow interface into this # module. # pylint: disable=wildcard-import +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + from tensorflow.python import * -- cgit v1.2.3