blob: 2c6535c15dec36b6adf227d30dd845cf44c0d3c5 [file] [log] [blame] [view]
Eugene Brevdocb331412017-08-22 11:10:29 -07001# Release 1.4.0
2
3## Major Features And Improvements
Mark Daouste6623e32017-10-17 14:44:47 -07004* [`tf.data`](http://tensorflow.org/programmers_guide/datasets) is now part of
5 the core TensorFlow API.
Derek Murrayf6e187a2017-10-04 19:07:31 -07006 * The API is now subject to backwards compatibility guarantees.
7 * For a guide to migrating from the `tf.contrib.data` API, see the
8 [README] (https://github.com/tensorflow/tensorflow/blob/r1.4/tensorflow/contrib/data/README.md).
9 * Major new features include `Dataset.from_generator()` (for building an input
10 pipeline from a Python generator), and the `Dataset.apply()` method for
11 applying custom transformation functions.
12 * Several custom transformation functions have been added, including
13 `tf.contrib.data.batch_and_drop_remainder()` and
14 `tf.contrib.data.sloppy_interleave()`.
Asim Shankarc7246912017-10-03 08:55:28 -070015* Java:
16 * Generics (e.g., `Tensor<Integer>`) for improved type-safety (courtesy @andrewcmyers).
17 * Support for multi-dimensional string tensors.
Eugene Brevdocb331412017-08-22 11:10:29 -070018
19## Bug Fixes and Other Changes
20* `tf.nn.rnn_cell.DropoutWrapper` is now more careful about dropping out LSTM
21 states. Specifically, it no longer ever drops the `c` (memory) state of an
22 `LSTMStateTuple`. The new behavior leads to proper dropout behavior
23 for LSTMs and stacked LSTMs. This bug fix follows recommendations from
24 published literature, but is a behavioral change. State dropout behavior
25 may be customized via the new `dropout_state_filter_visitor` argument.
Eugene Brevdo48e3b622017-08-30 09:27:00 -070026* Removed `tf.contrib.training.python_input`. The same behavior, in a more
27 flexible and reproducible package, is available via the new
28 `tf.contrib.data.Dataset.from_generator` method!
Eugene Brevdocb331412017-08-22 11:10:29 -070029
Derek Murrayf6e187a2017-10-04 19:07:31 -070030## Breaking Changes to the API
31* The signature of the `tf.contrib.data.rejection_resample()` function has been
32 changed. It now returns a function that can be used as an argument to
33 `Dataset.apply()`.
34
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070035# Release 1.3.0
36
Andrew Harp6e3e7d12017-08-21 12:10:44 -070037See also [TensorBoard 0.1.4](https://github.com/tensorflow/tensorboard/releases/tag/0.1.4) release notes.
38
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070039## Major Features and Improvements
Benoit Steiner05c491d2017-08-01 16:16:52 -070040* Added canned estimators to Tensorflow library. List of added estimators:
41 * `DNNClassifier`
42 * `DNNRegressor`
43 * `LinearClassifier`
44 * `LinearRegressor`
45 * `DNNLinearCombinedClassifier`
46 * `DNNLinearCombinedRegressor`.
Andrew Harp6e3e7d12017-08-21 12:10:44 -070047* All our prebuilt binaries have been built with cuDNN 6. We anticipate releasing TensorFlow 1.4 with cuDNN 7.
A. Unique TensorFlower28ce1d12017-08-15 12:08:29 -070048* `import tensorflow` now goes much faster.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070049* Adds a file cache to the GCS filesystem with configurable max staleness for file contents. This permits caching of file contents across close/open boundaries.
50* Added an axis parameter to `tf.gather`.
51* Added a `constant_values` keyword argument to `tf.pad`.
52* Adds `Dataset.interleave` transformation.
53* Add `ConcatenateDataset` to concatenate two datasets.
54* Added Mobilenet support to TensorFlow for Poets training script.
55* Adds a block cache to the GCS filesystem with configurable block size and count.
56* SinhArcSinh bijector added.
57* Added `Dataset.list_files` API.
58* Introduces new operations and Python bindings for the Cloud TPU.
59* Adding TensorFlow-iOS CocoaPod for symmetry with tensorflow-android.
60* Introduces base implementations of ClusterResolvers.
61* Unify memory representations of TensorShape and PartialTensorShape. As a consequence, tensors now have a maximum of 254 dimensions, not 255.
62* Changed references to LIBXSMM to use version 1.8.1.
Benoit Steiner05c491d2017-08-01 16:16:52 -070063* TensorFlow Debugger (tfdbg):
64 * Display summaries of numeric tensor values with the `-s` flag to command `print_tensor` or `pt`.
65 * Display feed values with the `print_feed` or `pf` command and clickable links in the curses UI.
66 * Runtime profiler at the op level and the Python source line level with the `run -p` command.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070067* Initial release of the statistical distribution library `tf.distributions`.
Martin Wicked57572e2017-09-02 19:21:45 -070068* GPU kernels and speed improvements for unary `tf.where` and `tf.nn.top_k`.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070069* Monotonic Attention wrappers added to `tf.contrib.seq2seq`.
Benoit Steiner05c491d2017-08-01 16:16:52 -070070* Added `tf.contrib.signal`, a library for signal processing primitives.
A. Unique TensorFlower28ce1d12017-08-15 12:08:29 -070071* Added `tf.contrib.resampler`, containing CPU and GPU ops for differentiable resampling of images.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070072
73## Breaking Changes to the API
74* `tf.RewriterConfig` was removed from the Python API after being available in 1.2 release candidates (it was never in an actual release). Graph rewriting is still available, just not as `tf.RewriterConfig`. Instead add an explicit import.
75* Breaking change to `tf.contrib.data.Dataset` APIs that expect a nested structure. Lists are now converted to `tf.Tensor` implicitly. You may need to change uses of lists to tuples in existing code. In addition, dicts are now supported as a nested structure.
76
77## Changes to contrib APIs
78* Adds tf.contrib.nn.rank_sampled_softmax_loss, a sampled-softmax variant that can improve rank loss.
79* `tf.contrib.metrics`.{streaming_covariance,streaming_pearson_correlation} modified to return nan when they have seen less or equal to 1 unit of weight.
80* Adds time series models to contrib. See contrib/timeseries/README.md for details.
81* Adds FULLY_CONNECTED Op to tensorflow/contrib/lite/schema.fbs
82
Andrew Harp6e3e7d12017-08-21 12:10:44 -070083## Known Issues
84* Tensorflow_gpu compilation fails with Bazel 0.5.3.
85
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070086## Bug Fixes and Other Changes
Benoit Steiner05c491d2017-08-01 16:16:52 -070087* Fixes `strides` and `begin` dtype mismatch when slicing using int64 Tensor index in python.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -070088* Improved convolution padding documentation.
89* Add a tag constant, gpu, to present graph with GPU support.
90* `saved_model.utils` now support SparseTensors transparently.
91* A more efficient implementation of non-max suppression.
92* Add support for the shrinkage-type L2 to FtrlOptimizer in addition to the online L2 it already supports.
93* Fix negative variance in moments calculation.
94* Expand UniqueOp Benchmark Tests to cover more collision cases.
95* Improves stability of GCS filesystem on Mac.
96* Add time estimation to HloCostAnalysis.
97* Fixed the bug in Estimator that params in constructor was not a deepcopy of the user provided one. This bugs inadvertently enabled user to mutate the params after the creation of Estimator, leading to potentially undefined behavior.
98* Added None check for save_path in `saver.restore`.
99* Register devices under their legacy names in device_mgr to ease the transition to clusterspec-propagated configurations.
100* VectorExponential added to distributions.
101* Add a bitwise module with bitwise_and, bitwise_or, bitwise_xor, and invert functions.
102* Add fixed-grid ODE integration routines.
103* Allow passing bounds to ScipyOptimizerInterface.
104* Correctness fixes for fft_length parameter to `tf.spectral.rfft` & `tf.spectral.irfft`.
105* Exported model signatures using the 'predict' method will no longer have their input and output keys silently ignored and rewritten to 'inputs' and 'outputs'. If a model was exported with different names before 1.2, and is now served with tensorflow/serving, it will accept requests using 'inputs' and 'outputs'. Starting at 1.2, such a model will accept the keys specified during export. Therefore, inference requests using 'inputs' and 'outputs' may start to fail. To fix this, either update any inference clients to send requests with the actual input and output keys used by the trainer code, or conversely, update the trainer code to name the input and output Tensors 'inputs' and 'outputs', respectively. Signatures using the 'classify' and 'regress' methods are not affected by this change; they will continue to standardize their input and output keys as before.
106* Add in-memory caching to the Dataset API.
107* Set default end_of_sequence variable in datasets iterators to false.
A. Unique TensorFlower28ce1d12017-08-15 12:08:29 -0700108* [Performance] Increase performance of `tf.layers.conv2d` when setting use_bias=True by 2x by using nn.bias_add.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700109* Update iOS examples to use CocoaPods, and moved to tensorflow/examples/ios.
110* Adds a family= attribute in `tf.summary` ops to allow controlling the tab name used in Tensorboard for organizing summaries.
111* When GPU is configured, do not require --config=cuda, instead, automatically build for GPU if this is requested in the configure script.
112* Fix incorrect sampling of small probabilities in CPU/GPU multinomial.
113* Add a list_devices() API on sessions to list devices within a cluster. Additionally, this change augment the ListDevices master API to support specifying a session.
114* Allow uses of over-parameterized separable convolution.
115* TensorForest multi-regression bug fix.
116* Framework now supports armv7, cocoapods.org now displays correct page.
117* Script to create iOS framework for CocoaPods.
118* Android releases of TensorFlow are now pushed to jcenter for easier integration into apps. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/android/README.md for more details.
Benoit Steiner05c491d2017-08-01 16:16:52 -0700119* TensorFlow Debugger (tfdbg):
120 * Fixed a bug that prevented tfdbg from functioning with multi-GPU setups.
121 * Fixed a bug that prevented tfdbg from working with `tf.Session.make_callable`.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700122
123## Thanks to our Contributors
124
125This release contains contributions from many people at Google, as well as:
126
1274F2E4A2E, Adriano Carmezim, Adrià Arrufat, Alan Yee, Alex Lattas, Alex Rothberg,
128Alexandr Baranezky, Ali Siddiqui, Andreas Solleder, Andrei Costinescu, Andrew Hundt,
129Androbin, Andy Kernahan, Anish Shah, Anthony Platanios, Arvinds-Ds, b1rd, Baptiste
130Arnaud, Ben Mabey, Benedikt Linse, Beomsu Kim, Bo Wang, Boyuan Deng, Brett Koonce,
131Bruno Rosa, Carl Thomé, Changming Sun, Chase Roberts, Chirag Bhatia, Chris Antaki,
132Chris Hoyean Song, Chris Tava, Christos Nikolaou, Croath Liu, cxx, Czxck001, Daniel
133Ylitalo, Danny Goodman, Darren Garvey, David Brailovsky, David Norman, DavidNorman,
134davidpham87, ddurham2, Dhruv, DimanNe, Drew Hintz, Dustin Tran, Earthson Lu, ethiraj,
135Fabian Winnen, Fei Sun, Freedom" Koan-Sin Tan, Fritz Obermeyer, Gao, Xiang, Gautam,
136Guenther Schmuelling, Gyu-Ho Lee, Hauke Brammer, horance, Humanity123, J Alammar,
137Jayeol Chun, Jeroen BéDorf, Jianfei Wang, jiefangxuanyan, Jing Jun Yin, Joan Puigcerver,
138Joel Hestness, Johannes Mayer, John Lawson, Johnson145, Jon Malmaud, Jonathan Alvarez-Gutierrez,
139Juang, Yi-Lin, Julian Viereck, Kaarthik Sivashanmugam, Karl Lessard, karl@kubx.ca, Kevin
140Carbone, Kevin Van Der Burgt, Kongsea, ksellesk, lanhin, Lef Ioannidis, Liangliang He,
141Louis Tiao, Luke Iwanski, LáSzló Csomor, magixsno, Mahmoud Abuzaina, Marcel Hlopko, Mark
142Neumann, Maxwell Paul Brickner, mdfaijul, MichaëL Defferrard, Michał JastrzęBski, Michele
143Colombo, Mike Brodie, Mosnoi Ion, mouradmourafiq, myPrecious, Nayana Thorat,
144Neeraj Kashyap, Nelson Liu, Niranjan Hasabnis, Olivier Moindrot, orome, Pankaj Gupta, Paul
145Van Eck, peeyush18, Peng Yu, Pierre, preciousdp11, qjivy, Raingo, raoqiyu, ribx, Richard S.
146Imaoka, Rishabh Patel, Robert Walecki, Rockford Wei, Ryan Kung, Sahil Dua, Sandip Giri, Sayed
147Hadi Hashemi, sgt101, Shitian Ni, Shuolongbj, Siim PõDer, Simon Perkins, sj6077, SOLARIS,
148Spotlight0xff, Steffen Eberbach, Stephen Fox, superryanguo, Sven Mayer, Tapan Prakash,
149Tiago Morais Morgado, Till Hoffmann, Tj Rana, Vadim Markovtsev, vhasanov, Wei Wu,
150windead, Yan (Asta) Li, Yan Chen, Yann Henon, Yi Wang, Yong Tang, yorkie, Yuan (Terry)
151Tang, Yuxin Wu, zhengjiajin, zhongzyd, 黄璞
152
153We are also grateful to all who filed issues or helped resolve them, asked and
154answered questions, and were part of inspiring discussions.
155
Shanqing Cai90d64212017-07-10 19:22:04 -0700156# Release 1.2.1
157
158## Bug Fixes and Other Changes
159* Updating markdown version required to >= 2.6.8.
160* Support tensors as dropout rates again, by removing the min(max(..))
161
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700162# Release 1.2.0
Derek Murray4e69ce82017-04-11 10:31:27 -0800163
164## Major Features and Improvements
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700165* Python 3.6 support on Windows.
Dan Ringwalt692fad22017-05-05 09:09:05 -0800166* Added `tf.layers.conv3d_transpose` layer for spatio temporal deconvolution.
Derek Murray4e69ce82017-04-11 10:31:27 -0800167* Added `tf.Session.make_callable()`, which provides a lower overhead means of running a similar step multiple times.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700168* Added libverbs-based RDMA support to contrib (courtesy @junshi15 from Yahoo).
169* Bring `tf.feature_column.*` into the API. Non-deprecated functionality from `tf.contrib.layers.*` is moved to `tf.feature_column.*` with cosmetic changes.
Eugene Brevdo827d2e42017-05-22 17:32:50 -0700170* `RNNCell` objects now subclass `tf.layers.Layer`. The strictness described
Eugene Brevdoe8482ab2017-04-21 16:34:59 -0800171 in the TensorFlow 1.1 release is gone: The first time an RNNCell is used,
172 it caches its scope. All future uses of the RNNCell will reuse variables from
173 that same scope. This is a breaking change from the behavior of RNNCells
174 in TensorFlow versions <= 1.0.1. TensorFlow 1.1 had checks in place to
175 ensure old code works correctly with the new semantics; this version
176 allows more flexible uses of RNNCell but can lead to subtle errors if
177 using code meant for TensorFlow <= 1.0.1. For example, writing:
178 `MultiRNNCell([lstm] * 5)` will now build a 5-layer LSTM stack where each
179 layer shares the **same** parameters. To get 5 layers each with their own
180 parameters, write: `MultiRNNCell([LSTMCell(...) for _ in range(5)])`.
181 If at all unsure, first test your code with TF 1.1; ensure it raises no
182 errors, and then upgrade to TF 1.2.
Eugene Brevdo827d2e42017-05-22 17:32:50 -0700183* RNNCells' variable names have been renamed for consistency with Keras layers.
184 Specifically, the previous variable names "weights" and "biases" have
185 been changed to "kernel" and "bias", respectively.
186 This may cause backward incompatibility with regard to your old
187 checkpoints containing such RNN cells, in which case you can use the tool
188 [checkpoint_convert script](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/rnn/python/tools/checkpoint_convert.py)
189 to convert the variable names in your old checkpoints.
190* Many of the RNN functions and classes that were in the `tf.nn` namespace
191 before the 1.0 release and which were moved to `tf.contrib.rnn` have now
192 been moved back to the core namespace. This includes
193 `RNNCell`, `LSTMCell`, `GRUCell`, and a number of other cells. These
194 now reside in `tf.nn.rnn_cell` (with aliases in `tf.contrib.rnn` for backwards
195 compatibility). The original `tf.nn.rnn` function is now `tf.nn.static_rnn`,
196 and the bidirectional static and state saving static rnn functions are also
197 now back in the `tf.nn` namespace.
198
199 Notable exceptions are the `EmbeddingWrapper`, `InputProjectionWrapper` and
200 `OutputProjectionWrapper`, which will slowly be moved to deprecation
201 in `tf.contrib.rnn`. These are inefficient wrappers that should often
202 be replaced by calling `embedding_lookup` or `layers.dense` as pre- or post-
203 processing of the rnn. For RNN decoding, this functionality has been replaced
204 with an alternative API in `tf.contrib.seq2seq`.
A. Unique TensorFlowerce322282017-01-07 09:19:27 -0800205* Intel MKL Integration (https://software.intel.com/en-us/articles/tensorflow-optimizations-on-modern-intel-architecture). Intel developed a number of
206 optimized deep learning primitives: In addition to matrix multiplication and
207 convolution, these building blocks include:
208 Direct batched convolution
209 Pooling: maximum, minimum, average
210 Normalization: LRN, batch normalization
211 Activation: rectified linear unit (ReLU)
212 Data manipulation: multi-dimensional transposition (conversion), split,
213 concat, sum and scale.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700214* TensorForest Estimator now supports SavedModel export for serving.
215* Support client-provided ClusterSpec's and propagate them to all workers to enable the creation of dynamic TensorFlow clusters.
216* TensorFlow C library now available for Windows.
217* We released a new open-source version of TensorBoard.
218* [`SavedModel CLI`](https://www.tensorflow.org/versions/master/programmers_guide/saved_model_cli) tool available to inspect and execute MetaGraph in SavedModel
219* Android releases of TensorFlow are now pushed to jcenter for easier
220 integration into apps. See
221 https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/android/README.md
222 for more details.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700223
224## Deprecations
225
226* TensorFlow 1.2 may be the last time we build with cuDNN 5.1. Starting with
227 TensorFlow 1.3, we will try to build all our prebuilt binaries with cuDNN 6.0.
228 While we will try to keep our source code compatible with cuDNN 5.1, it will
229 be best effort.
230
231## Breaking Changes to the API
232* `org.tensorflow.contrib.android.TensorFlowInferenceInterface` now throws exceptions where possible and has simplified method signatures.
233
234## Changes to contrib APIs
235* Added `tf.contrib.util.create_example`.
236* Added bilinear interpolation to `tf.contrib.image`.
237* Add `tf.contrib.stateless` for random ops with custom seed control.
238* MultivariateNormalFullCovariance added to contrib/distributions/
239* tensorflow/contrib/rnn undergoes RNN cell variable renaming for
240 consistency with Keras layers. Specifically, the previous variable names
241 "weights" and "biases" are changed to "kernel" and "bias", respectively.
242 This may cause backward incompatibility with regard to your old
243 checkpoints containing such RNN cells, in which case you can use the
244 [checkpoint_convert script](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/rnn/python/tools/checkpoint_convert.py)
245 to convert the variable names in your old checkpoints.
A. Unique TensorFlower50b999a2017-06-27 16:33:00 -0700246* Added `tf.contrib.kernel_methods` module with Ops and estimators for primal
247 (explicit) kernel methods in TensorFlow.
Derek Murray4e69ce82017-04-11 10:31:27 -0800248
Vijay Vasudevan15f32d92017-05-10 12:31:10 -0700249## Bug Fixes and Other Changes
250* In python, `Operation.get_attr` on type attributes returns the Python DType
251 version of the type to match expected get_attr documentation rather than the
252 protobuf enum.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700253* tensorflow/contrib/rnn undergoes RNN cell variable renaming for
254 consistency with Keras layers. Specifically, the previous variable names
255 "weights" and "biases" are changed to "kernel" and "bias", respectively.
256* Changed MIN_SDK version to 8.0 when building iOS libraries.
257* Fixed LIBXSMM integration.
258* Make decode_jpeg/decode_png/decode_gif handle all formats, since users frequently try to decode an image as the wrong type.
259* Improve implicit broadcasting lowering.
260* Improving stability of GCS/Bigquery clients by a faster retrying of stale transmissions.
261* Remove OpKernelConstruction::op_def() as part of minimizing proto dependencies.
262* VectorLaplaceDiag distribution added.
263* Android demo no longer requires libtensorflow_demo.so to run (libtensorflow_inference.so still required)
264* Added `categorical_column_with_vocabulary_file`.
265* Introduce ops for batching/unbatching tensors across Session::Run() calls.
266* Add tf.log_sigmoid(x) = tf.log(tf.sigmoid(x)) = -tf.nn.softplus(-x).
267* Changed hooks lists to immutable tuples, and now allow any iterable for the associated arguments.
268* Introduce TFDecorator.
269* Added an Mfcc op for speech feature generation.
270* Improved DirectSession::Run() overhead and error checking. Feeding a value of the wrong type will now synchronously raise an INVALID_ARGUMENT error instead of asynchronously raising an INTERNAL error. Code that depends on the (undefined) behavior when feeding a tensor of the wrong type may need to be updated.
271* Added unreduced NONE, and reduced MEAN options for losses. Removed "WEIGHTED_" prefix from other Reduction constants.
272* assertAllClose now handles dicts.
273* Added Gmock matcher for HloInstructions.
274* Add var name to errors on variable restore.
275* Added an AudioSpectrogram op for audio feature generation.
276* Added `reduction` arg to losses.
277* `tf.placeholder` can represent scalar shapes and partially known.
278* Remove estimator_spec(mode) argument.
279* Added an AudioSpectrogram op for audio feature generation.
280* TensorBoard disables all runs by default if there are more than 40 runs.
281* Removed old doc generator code.
282* GCS file system integration now supports domain buckets, e.g gs://bucket.domain.com/path.
283* Add `tf.summary.text` for outputting text to TensorBoard.
284* The "run" command of tfdbg's command-line interface now supports filtering of tensors by node name, op type and tensor dtype.
285* `tf.string_to_number` now supports int64 and float64 outputs.
286
287## Thanks to our Contributors
288
289This release contains contributions from many people at Google, as well as:
290
2914F2E4A2E, Aaron Schumacher, Abhi Agg, admcrae, Adriano Carmezim, Adrià Arrufat,
292agramesh1, Akimitsu Seo, Alan Mosca, Alex Egg, Alex Rothberg, Alexander Heinecke,
293Alexander Matyasko, Alexandr Baranezky, Alexandre Caulier, Ali Siddiqui, Anand Venkat,
294Andrew Hundt, Androbin, Anmol Sharma, Arie, Arno Leist, Arron Cao, AuréLien Geron, Bairen Yi,
295Beomsu Kim, Carl Thomé, cfperez, Changming Sun, Corey Wharton, critiqjo, Dalei Li, Daniel
296Rasmussen, Daniel Trebbien, DaríO Hereñú, David Eng, David Norman, David Y. Zhang, Davy Song, ddurham2,
297Deepak Subburam, Dmytro Kyrychuk, Dominic Rossi, Dominik SchlöSser, Dustin Tran,
298Eduardo Pinho, Egil Martinsson, Elliot Saba, Eric Bigelow, Erik Smistad, Evan Klitzke,
299Fabrizio Milo, Falcon Dai, Fei Gao, FloopCZ, Fung Lam, Gautam, GBLin5566, Greg Peatfield,
300Gu Wang, Guenther Schmuelling, Hans Pabst, Harun Gunaydin, Huaizheng, Ido Shamay, Ikaro
301Silva, Ilya Edrenkin, Immexxx, James Mishra, Jamie Cooke, Jay Young, Jayaram Bobba,
302Jianfei Wang, jinghua2, Joey Meyer, John Maidens, Jonghoon Jin, Julian Villella,
303Jun Kim, Jun Shi, Junwei Pan, jyegerlehner, Karan Desai, Karel Van De Plassche,
304Kb Sriram, KhabarlakKonstantin, Koan-Sin Tan, krivard, Kwotsin, Leandro Gracia Gil,
305Li Chen, Liangliang He, Louie Helm, lspvic, Luiz Henrique Soares, LáSzló Csomor,
306Mark Wong, Mathew Wicks, Matthew Rahtz, Maxwell Paul Brickner, Michael Hofmann, Miguel
307Flores Ruiz De Eguino, MikeTam1021, Mortada Mehyar, Mycosynth, Namnamseo,
308Nate Harada, Neven Miculinic, Nghia Tran, Nick Lyu, Niranjan Hasabnis, Nishidha, Oleksii
309Kuchaiev, Oyesh Mann Singh, Panmari, Patrick, Paul Van Eck, Piyush Chaudhary, Quim Llimona,
310Raingo, Richard Davies, Ruben Vereecken, Sahit Chintalapudi, Sam Abrahams, Santiago Castro,
311Scott Sievert, Sean O'Keefe, Sebastian Schlecht, Shane, Shubhankar Deshpande, Spencer Schaber,
312Sunyeop Lee, t13m, td2014, Thomas H. P. Andersen, Toby Petty, Umang Mehta,
313Vadim Markovtsev, Valentin Iovene, Vincent Zhao, Vit Stepanovs, Vivek Rane, Vu Pham, wannabesrevenge,
314weipingpku, wuhaixutab, wydwww, Xiang Gao, Xiaolin Lin, xiaoyaozhuzi, Yaroslav Bulatov, Yi Liu,
315Yoshihiro Sugi, Yuan (Terry) Tang, Yuming Wang, Yuxin Wu, Zader Zheng, Zhaojun Zhang, zhengjiajin,
316ZhipengShen, Ziming Dong, zjj2wry
317
318We are also grateful to all who filed issues or helped resolve them, asked and
319answered questions, and were part of inspiring discussions.
Derek Murray4e69ce82017-04-11 10:31:27 -0800320
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800321# Release 1.1.0
322
323## Major Features and Improvements
324* Added Java API support for Windows.
325* Added `tf.spectral` module. Moved existing FFT ops to `tf.spectral` while
326 keeping an alias in the old location (`tf.*`).
327* Added 1D, 2D and 3D Fourier transform ops for real signals to `tf.spectral`.
328* Added a `tf.bincount` function.
329* Added Keras 2 API to contrib.
330* Added a new lightweight queue-like object - `RecordInput`.
331* Added `tf.contrib.image.compose_transforms` function.
332* Bring `tf.estimator.*` into the API. Non-deprecated functionality from `tf.contrib.learn.Estimator` is moved to `tf.estimator.Estimator` with cosmetic changes.
333* Docker images: TF images on gcr.io and Docker Hub are upgraded to ubuntu:16.04.
334* Added the following features to TensorFlow Debugger (tfdbg):
335 * Ability to inspect Python source file against TF ops and tensors (command `print_source` / `ps`)
336 * New navigation bar in Curses-based UI
337 * NodeStepper (command `invoke_stepper`) now uses intermediate tensor dumps. It also uses `TensorHandles` as direct feeds during successive `cont` calls for improved performance and reduced memory consumption.
Rohan Jaind0697152017-04-07 08:29:08 -0800338* Initial release of installation guides for Java, C, and Go.
Shanqing Cai32694232017-04-22 06:08:17 -0800339* Added Text Dashboard to TensorBoard.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800340
341## Deprecations
342
343* TensorFlow 1.1.0 will be the last time we release a binary with Mac GPU support. Going forward, we will stop testing on Mac GPU systems. We continue to welcome patches that maintain Mac GPU support, and we will try to keep the Mac GPU build working.
344
345## Changes to contrib APIs
346* The behavior of RNNCells is now stricter due to the transition towards making RNNCells act more like Keras layers.
347 * If an RNNCell is used twice in two different variable scopes, an error is raised describing how to avoid this behavior.
348 * If an RNNCell is used in a variable scope with existing conflicting variables, an error is raised showing that the RNNCell must be constructed with argument `reuse=True`.
349* Deprecated contrib/distributions `pmf`, `pdf`, `log_pmf`, `log_pdf`.
350* Moved `bayesflow.special_math` to distributions.
351* `tf.contrib.tensor_forest.python.tensor_forest.RandomForestDeviceAssigner` removed.
352* Changed some MVN classes and parameters:
353 * `tf.contrib.distributions.MultivariateNormalFull` replaced by `tf.contrib.distributions.MultivariateNormalTriL`.
354 * `tf.contrib.distributions.MultivariateNormalCholesky` replaced by `tf.contrib.distributions.MultivariateNormalTriL`
355 * `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev` replaced
356 by `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusScale`
357 * `tf.contrib.distributions.MultivariateNormalDiag` arguments changed from `mu`, `diag_stddev` to `log`, `scale_diag`.
358 * `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT` removed.
359 * `tf.contrib.distributions.MultivariateNormalDiagPlusLowRank` added.
360
361## Bug Fixes and Other Changes
362* Java: Support for loading models exported using the SavedModel API (courtesy @EronWright).
363* Go: Added support for incremental graph execution.
364* Fix a bug in the WALS solver when single-threaded.
365* Added support for integer sparse feature values in `tf.contrib.layers.sparse_column_with_keys`.
366* Fixed `tf.set_random_seed(0)` to be deterministic for all ops.
367* Stability improvements for the GCS file system support.
368* Improved TensorForest performance.
369* Added support for multiple filename globs in `tf.matching_files`.
370* `LogMessage` now includes a timestamp as beginning of a message.
371* Added MultiBox person detector example standalone binary.
372* Android demo: Makefile build functionality added to build.gradle to fully support building TensorFlow demo in Android on Windows.
373* Android demo: read MultiBox priors from txt file rather than protobuf.
374* Added colocation constraints to `StagingArea`.
375* `sparse_matmul_op` reenabled for Android builds.
376* Restrict weights rank to be the same as the broadcast target, to avoid ambiguity on broadcast rules.
377* Upgraded libxsmm to 1.7.1 and applied other changes for performance and memory usage.
378* Fixed bfloat16 integration of LIBXSMM sparse mat-mul.
379* Improved performance and reduce memory usage by allowing ops to forward input buffers to output buffers and perform computations in-place.
380* Improved the performance of CPU assignment for strings.
381* Speed up matrix * vector multiplication and matrix * matrix with unknown shapes.
382* C API: Graph imports now support input remapping, control dependencies, and returning imported nodes (see `TF_GraphImportGraphDefWithReturnOutputs()`)
383* Multiple C++ API updates.
384* Multiple TensorBoard updates including:
385 * Users can now view image summaries at various sampled steps (instead of just the last step).
386 * Bugs involving switching runs as well as the image dashboard are fixed.
387 * Removed data download links from TensorBoard.
388 * TensorBoard uses a relative data directory, for easier embedding.
389 * TensorBoard automatically ignores outliers for domain calculation, and formats proportional values consistently.
390* Multiple tfdbg bug fixes:
391 * Fixed Windows compatibility issues.
392 * Command history now persists across runs.
Rohan Jaind0697152017-04-07 08:29:08 -0800393 * Bug fix in graph validation related to `tf.while_loops`.
394* Java Maven fixes for bugs with Windows installation.
Shanqing Cai32694232017-04-22 06:08:17 -0800395* Backport fixes and improvements from external keras.
396* Keras config file handling fix.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800397
398## Thanks to our Contributors
399
400This release contains contributions from many people at Google, as well as:
401
402A. Besir Kurtulmus, Adal Chiriliuc, @akash, Alec-Desouza, Alex Rothberg, Alex
Rohan Jaind0697152017-04-07 08:29:08 -0800403Sergeev, Alexander Heinecke, Allen Guo, Andreas Madsen, Ankesh Anand, Anton
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800404Loss, @Aravind, @Arie, Ashutosh Das, AuréLien Geron, Bairen Yi, @bakunyo, Ben
Rohan Jaind0697152017-04-07 08:29:08 -0800405Visser, Brady Zhou, Calpa Liu, Changming Sun, Chih Cheng Liang, Christopher
406Berner, Clark Zinzow, @Conchylicultor, Dan Ellis, Dan J, Dan Jarvis, Daniel
407Ylitalo, Darren Garvey, David Norman, David Truong, @DavidNorman, Dimitar
408Pavlov, Dmitry Persiyanov, @Eddie, @elirex, Erfan Noury, Eron Wright, Evgeny
409Mazovetskiy, Fabrizio (Misto) Milo, @fanlu, Fisher Coder, Florian Courtial,
410Franck Dernoncourt, Gagan Goel, Gao, Xiang, @Gautam, Gefu Tang, @guilherme,
411@guschmue, Hannah Provenza, Hans Pabst, @hartb, Hsiao Yi, Huazuo Gao, Igor
412ChorążEwicz, Ivan Smirnov, Jakub Kolodziejczyk, Jason Gavris, Jason Morton, Jay
413Young, Jayaram Bobba, Jeremy Sawruk, Jiaming Liu, Jihun Choi, @jiqiu, Joan Thibault,
414John C F, Jojy George Varghese, Jon Malmaud, Julian Berman, Julian Niedermeier,
415Junpeng Lao, Kai Sasaki, @Kankroc, Karl Lessard, Kyle Bostelmann, @Lezcano, Li
416Yi, Luo Yun, @lurker, Mahmoud-Abuzaina, Mandeep Singh, Marek Kolodziej, Mark
417Szepieniec, Martial Hue, Medhat Omr, Memo Akten, Michael Gharbi, MichaëL Defferrard,
418Milan Straka, @MircoT, @mlucool, Muammar Ibn Faisal, Nayana Thorat, @nghiattran,
419Nicholas Connor, Nikolaas Steenbergen, Niraj Patel, Niranjan Hasabnis, @Panmari,
420Pavel Bulanov, Philip Pries Henningsen, Philipp Jund, @polonez, Prayag Verma, Rahul
421Kavi, Raphael Gontijo Lopes, @rasbt, Raven Iqqe, Reid Pryzant, Richard Shin, Rizwan
422Asif, Russell Kaplan, Ryo Asakura, RüDiger Busche, Saisai Shao, Sam Abrahams, @sanosay,
423Sean Papay, @seaotterman, @selay01, Shaurya Sharma, Sriram Narayanamoorthy, Stefano
424Probst, @taknevski, @tbonza, @teldridge11, Tim Anglade, Tomas Reimers, Tomer Gafner,
425Valentin Iovene, Vamsi Sripathi, Viktor Malyi, Vit Stepanovs, Vivek Rane, Vlad Firoiu,
426@wangg12, @will, Xiaoyu Tao, Yaroslav Bulatov, Yi Liu, Yuan (Terry) Tang, @Yufeng,
427Yuming Wang, Yuxin Wu, Zafar Takhirov, Ziming Dong
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800428
429We are also grateful to all who filed issues or helped resolve them, asked and
430answered questions, and were part of inspiring discussions.
431
432
Martin Wickebc456e32017-03-23 12:31:16 -0800433# Release 1.0.1
434
435## Bug Fixes and Other Changes
436* Change GraphConstructor to not increase the version when importing, but instead take the min of all versions.
437* Google Cloud Storage fixes.
438* Removed `tf.core` and `tf.python` modules from the API. These were never intended to be exposed. Please use the same objects through top-level `tf` module instead.
439
Benoit Steiner639b4e72017-02-08 09:25:09 -0800440# Release 1.0.0
441
442## Major Features and Improvements
443* XLA (experimental): initial release of [XLA](https://www.tensorflow.org/versions/master/experimental/xla/), a domain-specific compiler for TensorFlow graphs, that targets CPUs and GPUs.
444* TensorFlow Debugger (tfdbg): command-line interface and API.
445* New python 3 docker images added.
446* Made pip packages pypi compliant. TensorFlow can now be installed by `pip
447 install tensorflow` command.
448* Several python API calls have been changed to resemble NumPy more closely.
449* Android: person detection + tracking demo implementing Scalable Object
450 Detection using Deep Neural Networks.
451* New (experimental) [Java API](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java).
452* Add new Android image stylization demo based on "A Learned Representation For Artistic Style", and add YOLO object detector support.
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800453
454## Breaking Changes to the API
Benoit Steiner639b4e72017-02-08 09:25:09 -0800455To help you upgrade your existing TensorFlow Python code to match the API changes below, we have prepared a [conversion script](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/compatibility).
456* TensorFlow/models have been moved to a separate github repository.
Andrew Sellefcc39232016-11-22 10:04:37 -0800457* Division and modulus operators (/, //, %) now match Python (flooring)
Andrew Sellef0a6d1e2016-12-13 16:01:12 -0800458 semantics. This applies to `tf.div` and `tf.mod` as well. To obtain forced
459 integer truncation based behaviors you can use `tf.truncatediv`
460 and `tf.truncatemod`.
461* `tf.divide()` is now the recommended division function. `tf.div()` will
462 remain, but its semantics do not respond to Python 3 or `from future`
463 mechanisms.
464* tf.reverse() now takes indices of axes to be reversed. E.g.
465 `tf.reverse(a, [True, False, True])` must now be written as
466 `tf.reverse(a, [0, 2])`. `tf.reverse_v2()` will remain until 1.0 final.
467* `tf.mul`, `tf.sub` and `tf.neg` are deprecated in favor of `tf.multiply`,
468 `tf.subtract` and `tf.negative`.
A. Unique TensorFlower44977ae2016-12-15 18:36:06 -0800469* `tf.pack` and `tf.unpack` are deprecated in favor of `tf.stack` and
470 `tf.unstack`.
471* `TensorArray.pack` and `TensorArray.unpack` are getting deprecated in favor of
472 `TensorArray.stack` and `TensorArray.unstack`.
Andrew Sellef0a6d1e2016-12-13 16:01:12 -0800473* The following Python functions have had their arguments changed to use `axis`
474 when referring to specific dimensions. We have kept the old keyword arguments
475 for compatibility currently, but we will be removing them well before the
476 final 1.0.
477 * `tf.argmax`: `dimension` becomes `axis`
478 * `tf.argmin`: `dimension` becomes `axis`
479 * `tf.count_nonzero`: `reduction_indices` becomes `axis`
480 * `tf.expand_dims`: `dim` becomes `axis`
481 * `tf.reduce_all`: `reduction_indices` becomes `axis`
482 * `tf.reduce_any`: `reduction_indices` becomes `axis`
483 * `tf.reduce_join`: `reduction_indices` becomes `axis`
484 * `tf.reduce_logsumexp`: `reduction_indices` becomes `axis`
485 * `tf.reduce_max`: `reduction_indices` becomes `axis`
486 * `tf.reduce_mean`: `reduction_indices` becomes `axis`
487 * `tf.reduce_min`: `reduction_indices` becomes `axis`
488 * `tf.reduce_prod`: `reduction_indices` becomes `axis`
489 * `tf.reduce_sum`: `reduction_indices` becomes `axis`
490 * `tf.reverse_sequence`: `batch_dim` becomes `batch_axis`, `seq_dim` becomes `seq_axis`
491 * `tf.sparse_concat`: `concat_dim` becomes `axis`
492 * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis`
493 * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis`
494 * `tf.sparse_split`: `split_dim` becomes `axis`
495* `tf.listdiff` has been renamed to `tf.setdiff1d` to match NumPy naming.
496* `tf.inv` has been renamed to be `tf.reciprocal` (component-wise reciprocal)
497 to avoid confusion with `np.inv` which is matrix inversion
498* tf.round now uses banker's rounding (round to even) semantics to match NumPy.
499* `tf.split` now takes arguments in a reversed order and with different
500 keywords. In particular, we now match NumPy order as
501 `tf.split(value, num_or_size_splits, axis)`.
502* `tf.sparse_split` now takes arguments in reversed order and with different
503 keywords. In particular we now match NumPy order as
504 `tf.sparse_split(sp_input, num_split, axis)`. NOTE: we have temporarily
505 made `tf.sparse_split` require keyword arguments.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800506* `tf.concat` now takes arguments in reversed order and with different keywords. In particular we now match NumPy order as `tf.concat(values, axis, name)`.
507* `tf.image.decode_jpeg` by default uses the faster DCT method, sacrificing
Vijay Vasudevanfebdc1d2016-12-19 21:04:00 -0800508 a little fidelity for improved speed. One can revert to the old
Benoit Steiner639b4e72017-02-08 09:25:09 -0800509 behavior by specifying the attribute `dct_method='INTEGER_ACCURATE'`.
A. Unique TensorFloweredb095c2016-12-20 14:37:03 -0800510* `tf.complex_abs` has been removed from the Python interface. `tf.abs`
511 supports complex tensors and should be used instead.
A. Unique TensorFlowerfac4a352017-01-20 13:14:02 -0800512* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
513 from the tensorflow::ops namespace to tensorflow.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800514* Template.`var_scope` property renamed to `.variable_scope`
515* SyncReplicasOptimizer is removed and SyncReplicasOptimizerV2 renamed to SyncReplicasOptimizer.
516* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
517 that must be called with initializer arguments, in your code replace
518 `tf.zeros_initializer` with `tf.zeros_initializer()`.
519* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
520 `SparseTensorValue.shape`.
521* Replace tf.scalar_summary, tf.histogram_summary, tf.audio_summary, tf.image_summary with tf.summary.scalar, tf.summary.histogram, tf.summary.audio, tf.summary.image, respectively. The new summary ops take name rather than tag as their first argument, meaning summary ops now respect TensorFlow name scopes.
522* Replace tf.train.SummaryWriter and tf.train.SummaryWriterCache with tf.summary.FileWriter and tf.summary.FileWriterCache.
523* Removes RegisterShape from public API. Use C++ shape function registration
524 instead.
525* Deprecated `_ref` dtypes from the python API.
526* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
527 from the tensorflow::ops namespace to tensorflow.
528* Change arg order for `{softmax,sparse_softmax,sigmoid}_cross_entropy_with_logits` to be (labels, predictions), and force use of named args.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800529* tf.nn.rnn_cell.* and most functions in tf.nn.rnn.* (with the exception of dynamic_rnn and raw_rnn) are temporarily in tf.contrib.rnn. They will be moved back into core for TF 1.2.
Martin Wickebc456e32017-03-23 12:31:16 -0800530* `tf.nn.sampled_softmax_loss` and `tf.nn.nce_loss` have both changed their API such that you need to switch the `inputs, labels` to `labels, inputs` parameters.
531* The shape keyword argument of the `SparseTensor` constructor changes its name to `dense_shape` between Tensorflow 0.12 and Tensorflow 1.0.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800532
533## Bug Fixes and Other Changes
Andrew Harp3e975ea2017-03-01 17:59:22 -0800534* Numerous C++ API updates.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800535* New op: `parallel_stack`.
536* Introducing common tf io compression options constants for
537 RecordReader/RecordWriter.
538* Add `sparse_column_with_vocabulary_file`, to specify a feature column that
539 transform string features to IDs, where the mapping is defined by a vocabulary
540 file.
541* Added `index_to_string_table` which returns a lookup table that maps indices to
542 strings.
543* Add `string_to_index_table`, which returns a lookup table that matches strings
544 to indices.
545* Add a `ParallelForWithWorkerId` function.
546* Add `string_to_index_table`, which returns a lookup table that matches strings
547 to indices.
548* Support restore session from checkpoint files in v2 in `contrib/session_bundle`.
549* Added a tf.contrib.image.rotate function for arbitrary angles.
550* Added `tf.contrib.framework.filter_variables` as a convenience function to
551 filter lists of variables based on regular expressions.
552* `make_template()` takes an optional `custom_getter_ param`.
553* Added comment about how existing directories are handled by
554 `recursive_create_dir`.
555* Added an op for QR factorizations.
556* Divides and mods in Python API now use flooring (Python) semantics.
557* Android: pre-built libs are now built nightly.
558* Android: cmake/gradle build for TensorFlow Inference library under
559 `contrib/android/cmake`
560* Android: Much more robust Session initialization code.
561* Android: TF stats now exposed directly in demo and log when debug mode is
562 active
563* Android: new/better README.md documentation
564* saved_model is available as `tf.saved_model`.
565* Empty op is now stateful.
566* Improve speed of scatter_update on the cpu for ASSIGN operations.
567* Change `reduce_join` to treat `reduction_indices` in the same way as other `reduce_` ops.
568* Move `TensorForestEstimator` to `contrib/tensor_forest`.
569* Enable compiler optimizations by default and allow configuration in configure.
570* `tf.divide` now honors the name field.
571* Make metrics weight broadcasting more strict.
572* Add new queue-like `StagingArea` and new ops: `stage` and `unstage`.
Andrew Harp3e975ea2017-03-01 17:59:22 -0800573* Enable inplace update ops for strings on CPU. Speed up string concat.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800574
575## Thanks to our Contributors
576
577This release contains contributions from many people at Google, as well as:
578
579Aaron Hu, Abhishek Aggarwal, Adam Michael, Adriano Carmezim, @AfirSraftGarrier,
580Alexander Novikov, Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Hundt,
581Anish Shah, Anton Loss, @b0noI, @BoyuanJiang, Carl Thomé, Chad Kennedy, Comic
582Chang, Connor Braa, Daniel N. Lang, Daniel Trebbien,
583@danielgordon10, Darcy Liu, Darren Garvey, Dmitri Lapin, Eron Wright, Evan
584Cofer, Fabrizio Milo, Finbarr Timbers, Franck Dernoncourt, Garrett Smith,
585@guschmue, Hao Wei, Henrik Holst, Huazuo Gao, @Ian, @Issac, Jacob Israel,
586Jangsoo Park, Jin Kim, Jingtian Peng, John Pope, Kye Bostelmann, Liangliang He,
587Ling Zhang, Luheng He, Luke Iwanski, @lvli, Michael Basilyan, Mihir Patel,
588Mikalai Drabovich, Morten Just, @newge, Nick Butlin, Nishant Shukla,
589Pengfei Ni, Przemyslaw Tredak, @rasbt, @Ronny, Rudolf Rosa, @RustingSword,
590Sam Abrahams, Sam Putnam, @SeongAhJo, Shi Jiaxin, @skavulya, Steffen MüLler,
591@TheUSER123, @tiriplicamihai, @vhasanov, Victor Costan, Vit Stepanovs,
592Wangda Tan, Wenjian Huang, Xingdong Zuo, Yaroslav Bulatov, Yota Toyama,
593Yuan (Terry) Tang, Yuxin Wu
594
595We are also grateful to all who filed issues or helped resolve them, asked and
596answered questions, and were part of inspiring discussions.
597
Andrew Harp1cb96892016-12-08 20:05:49 -0800598
599# Release 0.12.0
600
601## Major Features and Improvements
602
603* TensorFlow now builds and runs on Microsoft Windows (tested on Windows 10,
604 Windows 7, and Windows Server 2016). Supported languages include Python (via a
605 pip package) and C++. CUDA 8.0 and cuDNN 5.1 are supported for GPU
606 acceleration. Known limitations include: It is not currently possible to load
607 a custom op library. The GCS and HDFS file systems are not currently
608 supported. The following ops are not currently implemented:
Martin Wicke2e4869a2016-12-14 15:46:53 -0800609 Dequantize, QuantizeAndDequantize, QuantizedAvgPool,
Andrew Harp1cb96892016-12-08 20:05:49 -0800610 QuantizedBatchNomWithGlobalNormalization, QuantizedBiasAdd, QuantizedConcat,
611 QuantizedConv2D, QuantizedMatmul, QuantizedMaxPool,
612 QuantizeDownAndShrinkRange, QuantizedRelu, QuantizedRelu6, QuantizedReshape,
613 QuantizeV2, RequantizationRange, and Requantize.
614* Go: Experimental API in Go to create and execute graphs
615 (https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go)
616* New checkpoint format becomes the default in `tf.train.Saver`. Old V1
617 checkpoints continue to be readable; controlled by the `write_version`
618 argument, `tf.train.Saver` now by default writes out in the new V2
619 format. It significantly reduces the peak memory required and latency
620 incurred during restore.
621* Added a new library for library of matrix-free (iterative) solvers for linear
622 equations, linear least-squares, eigenvalues and singular values in
623 tensorflow/contrib/solvers. Initial version has lanczos bidiagonalization,
624 conjugate gradients and CGLS.
625* Added gradients for `matrix_solve_ls` and `self_adjoint_eig`.
626* Large cleanup to add second order gradient for ops with C++ gradients and
627 improve existing gradients such that most ops can now be differentiated
628 multiple times.
629* Added a solver for ordinary differential equations,
630 `tf.contrib.integrate.odeint`.
631* New contrib module for tensors with named axes, `tf.contrib.labeled_tensor`.
632* Visualization of embeddings in TensorBoard.
633
634## Breaking Changes to the API
635
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800636* `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI bus
Benoit Steiner639b4e72017-02-08 09:25:09 -0800637 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
638 previously `BUS_ANY` was used.
Jonathan Hseu879e0ac2016-11-04 11:53:50 -0800639* `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status
Vijay Vasudevan93a975e2017-02-17 17:05:49 -0800640 instead of a bool. Any callers to this function can be converted to a bool
Jonathan Hseu879e0ac2016-11-04 11:53:50 -0800641 by adding .ok() to the call.
Asim Shankare580e722016-11-09 08:21:50 -0800642* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
643 indicating its preferred use in language bindings for TensorFlow.
644 What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800645* Renamed `TF_Port` to `TF_Output` in the C API.
Andrew Harp1cb96892016-12-08 20:05:49 -0800646* Removes RegisterShape from public API. Use C++ shape function registration instead.
647 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
648 previously `BUS_ANY` was used.
Eugene Brevdo7a7c1eb2016-11-29 09:38:37 -0800649* Most RNN cells and RNN functions now use different variable scopes to be
650 consistent with layers (`tf.contrib.layers`). This means old checkpoints
651 written using this code will not load after this change without providing
652 `Saver` a list of variable renames. Examples of variable scope changes
653 include `RNN` -> `rnn` in `tf.nn.rnn`, `tf.nn.dynamic_rnn` and moving from
654 `Linear/Matrix` -> `weights` and `Linear/Bias` -> `biases` in most RNN cells.
A. Unique TensorFlowerfe558b02016-11-30 11:51:57 -0800655* Deprecated tf.select op. tf.where should be used instead.
Martin Wickea7cd5f62016-12-14 15:22:55 -0800656* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
657 `SparseTensorValue.shape`.
Andrew Harp1cb96892016-12-08 20:05:49 -0800658* `Env::FileExists` and `FileSystem::FileExists` now return a
Vijay Vasudevan93a975e2017-02-17 17:05:49 -0800659 `tensorflow::Status` instead of a bool. Any callers to this function can be
Andrew Harp1cb96892016-12-08 20:05:49 -0800660 converted to a bool by adding `.ok()` to the call.
661* C API: Type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating
662 its preferred use in language bindings for TensorFlow. What was previously
663 `TF_Session` has been renamed to `TF_DeprecatedSession`.
664* C API: Renamed `TF_Port` to `TF_Output`.
665* C API: The caller retains ownership of `TF_Tensor` objects provided to
666 `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
667* Renamed `tf.image.per_image_whitening()` to
668 `tf.image.per_image_standardization()`
669* Move Summary protobuf constructors to `tf.summary` submodule.
670* Deprecate `histogram_summary`, `audio_summary`, `scalar_summary`,
671 `image_summary`, `merge_summary`, and `merge_all_summaries`.
672* Combined `batch_*` and regular version of linear algebra and FFT ops. The
673 regular op now handles batches as well. All `batch_*` Python interfaces were
674 removed.
675* `tf.all_variables`, `tf.VARIABLES` and `tf.initialize_all_variables` renamed
676 to `tf.global_variables`, `tf.GLOBAL_VARIABLES` and
677 `tf.global_variables_initializer` respectively.
A. Unique TensorFlower46d2c282017-01-02 22:19:48 -0800678* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
679 that must be called with initializer arguments, in your code replace
Benoit Steiner639b4e72017-02-08 09:25:09 -0800680 `tf.zeros_initializer` with `tf.zeros_initializer()`
Andrew Harp1cb96892016-12-08 20:05:49 -0800681
682## Bug Fixes and Other Changes
683
684* Use threadsafe version of `lgamma` function.
685* Fix `tf.sqrt` handling of negative arguments.
686* Fixed bug causing incorrect number of threads to be used for multi-threaded
687 benchmarks.
688* Performance optimizations for `batch_matmul` on multi-core CPUs.
689* Improve trace, `matrix_set_diag`, `matrix_diag_part` and their gradients to
690 work for rectangular matrices.
691* Support for SVD of complex valued matrices.
692
693
694## Thanks to our Contributors
695
696This release contains contributions from many people at Google, as well as:
697
698@a7744hsc, Abhi Agg, @admcrae, Adriano Carmezim, Aki Sukegawa, Alex Kendall,
699Alexander Rosenberg Johansen, @amcrae, Amlan Kar, Andre Simpelo, Andreas Eberle,
700Andrew Hundt, Arnaud Lenglet, @b0noI, Balachander Ramachandran, Ben Barsdell,
701Ben Guidarelli, Benjamin Mularczyk, Burness Duan, @c0g, Changming Sun,
702@chanis, Corey Wharton, Dan J, Daniel Trebbien, Darren Garvey, David Brailovsky,
703David Jones, Di Zeng, @DjangoPeng, Dr. Kashif Rasul, @drag0, Fabrizio (Misto)
704Milo, FabríCio Ceschin, @fp, @Ghedeon, @guschmue, Gökçen Eraslan, Haosdent
705Huang, Haroen Viaene, Harold Cooper, Henrik Holst, @hoangmit, Ivan Ukhov, Javier
706Dehesa, Jingtian Peng, Jithin Odattu, Joan Pastor, Johan Mathe, Johannes Mayer,
707Jongwook Choi, Justus Schwabedal, Kai Wolf, Kamil Hryniewicz, Kamran Amini,
708Karen Brems, Karl Lattimer, @kborer, Ken Shirriff, Kevin Rose, Larissa Laich,
709Laurent Mazare, Leonard Lee, Liang-Chi Hsieh, Liangliang He, Luke Iwanski,
710Marek Kolodziej, Moustafa Alzantot, @MrQianjinsi, @nagachika, Neil Han, Nick
711Meehan, Niels Ole Salscheider, Nikhil Mishra, @nschuc, Ondrej Skopek, OndřEj
712Filip, @OscarDPan, Pablo Moyano, Przemyslaw Tredak, @qitaishui, @Quarazy,
713@raix852, Philipp Helo, Sam Abrahams, @SriramRamesh, Till Hoffmann, Tushar Soni,
714@tvn, @tyfkda, Uwe Schmidt, Victor Villas, Vit Stepanovs, Vladislav Gubarev,
715@wujingyue, Xuesong Yang, Yi Liu, Yilei Yang, @youyou3, Yuan (Terry) Tang,
716Yuming Wang, Zafar Takhirov, @zhongyuk, Ziming Dong, @guotong1988
717
718We are also grateful to all who filed issues or helped resolve them, asked and
719answered questions, and were part of inspiring discussions.
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800720
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800721# Release 0.11.0
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800722
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800723## Major Features and Improvements
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800724
Vijay Vasudevan818993c2016-11-03 17:07:01 -0800725* CUDA 8 support.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800726* cuDNN 5 support.
727* HDFS Support.
728* Adds Fused LSTM support via cuDNN 5 in `tensorflow/contrib/cudnn_rnn`.
729* Improved support for NumPy style basic slicing including non-1 strides,
730 ellipses, newaxis, and negative indices. For example complicated expressions
731 like `foo[1, 2:4, tf.newaxis, ..., :-3:-1, :]` are now supported. In addition
732 we have preliminary (non-broadcasting) support for sliced assignment to
733 variables. In particular one can write `var[1:3].assign([1,11,111])`.
734* Deprecated `tf.op_scope` and `tf.variable_op_scope` in favor of a unified `tf.name_scope` and `tf.variable_scope`. The new argument order of `tf.variable_scope` is incompatible with previous versions.
735* Introducing `core/util/tensor_bundle` module: a module to efficiently
736 serialize/deserialize tensors to disk. Will be used in TF's new checkpoint
737 format.
738* Added tf.svd for computing the singular value decomposition (SVD) of dense
739 matrices or batches of matrices (CPU only).
740* Added gradients for eigenvalues and eigenvectors computed using
741 `self_adjoint_eig` or `self_adjoint_eigvals`.
742* Eliminated `batch_*` methods for most linear algebra and FFT ops and promoted
743 the non-batch version of the ops to handle batches of matrices.
744* Tracing/timeline support for distributed runtime (no GPU profiler yet).
745* C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and
746 `TF_GraphGetTensorShape`.
747* Shape functions for core ops have moved to C++ via
748 `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape calls
749 use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A future
750 release will remove `RegisterShape` from python.
751
752
753## Bug Fixes and Other Changes
754
755* Documentation now includes operator overloads on Tensor and Variable.
756* `tensorflow.__git_version__` now allows users to identify the version of the
757 code that TensorFlow was compiled with. We also have
758 `tensorflow.__git_compiler__` which identifies the compiler used to compile
759 TensorFlow's core.
760* Improved multi-threaded performance of `batch_matmul`.
Eugene Brevdo21e1cc72016-08-11 21:45:39 -0800761* LSTMCell, BasicLSTMCell, and MultiRNNCell constructors now default to
762 `state_is_tuple=True`. For a quick fix while transitioning to the new
763 default, simply pass the argument `state_is_tuple=False`.
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800764* DeviceFactory's AddDevices and CreateDevices functions now return
765 a Status instead of void.
A. Unique TensorFlower84cefad2016-08-12 07:06:13 -0800766* Int32 elements of list(type) arguments are no longer placed in host memory by
767 default. If necessary, a list(type) argument to a kernel can be placed in host
768 memory using a HostMemory annotation.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800769* `uniform_unit_scaling_initializer()` no longer takes a `full_shape` arg,
770 instead relying on the partition info passed to the initializer function when
771 it's called.
772* The NodeDef protocol message is now defined in its own file `node_def.proto`
773 `instead of graph.proto`.
774* `ops.NoGradient` was renamed `ops.NotDifferentiable`. `ops.NoGradient` will
Vijay Vasudevan612bae72016-09-09 11:03:09 -0800775 be removed soon.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800776* `dot.h` / DotGraph was removed (it was an early analysis tool prior
Vijay Vasudevan269bfee2016-09-21 21:41:19 -0800777 to TensorBoard, no longer that useful). It remains in history
778 should someone find the code useful.
Vijay Vasudevan914625a2016-09-23 13:51:34 -0800779* re2 / regexp.h was removed from being a public interface of TF.
780 Should users need regular expressions, they should depend on the RE2
781 library directly rather than via TensorFlow.
Dan Manée5bcf542016-05-16 13:39:34 -0800782
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800783## Thanks to our Contributors
784
785This release contains contributions from many people at Google, as well as:
786
787Abid K, @afshinrahimi, @AidanGG, Ajay Rao, Aki Sukegawa, Alex Rothberg,
788Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Thomas, @Appleholic,
789Bastiaan Quast, Ben Dilday, Bofu Chen, Brandon Amos, Bryon Gloden, Cissp®,
790@chanis, Chenyang Liu, Corey Wharton, Daeyun Shin, Daniel Julius Lasiman, Daniel
791Waterworth, Danijar Hafner, Darren Garvey, Denis Gorbachev, @DjangoPeng,
792Egor-Krivov, Elia Palme, Eric Platon, Fabrizio Milo, Gaetan Semet,
793Georg Nebehay, Gu Wang, Gustav Larsson, @haosdent, Harold Cooper, Hw-Zz,
794@ichuang, Igor Babuschkin, Igor Macedo Quintanilha, Ilya Edrenkin, @ironhead,
795Jakub Kolodziejczyk, Jennifer Guo, Jihun Choi, Jonas Rauber, Josh Bleecher
796Snyder, @jpangburn, Jules Gagnon-Marchand, Karen Brems, @kborer, Kirill Bobyrev,
797Laurent Mazare, Longqi Yang, Malith Yapa, Maniteja Nandana, Martin Englund,
798Matthias Winkelmann, @mecab, Mu-Ik Jeon, Nand Dalal, Niels Ole Salscheider,
799Nikhil Mishra, Park Jiin, Pieter De Rijk, @raix852, Ritwik Gupta, Sahil Sharma,
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -0800800Sangheum Hwang, @SergejsRk, Shinichiro Hamaji, Simon Denel, @Steve, @suiyuan2009,
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800801Tiago Jorge, Tijmen Tieleman, @tvn, @tyfkda, Wang Yang, Wei-Ting Kuo, Wenjian
802Huang, Yan Chen, @YenChenLin, Yuan (Terry) Tang, Yuncheng Li, Yunfeng Wang, Zack
803Polizzi, @zhongzyd, Ziming Dong, @perhapszzy
804
805We are also grateful to all who filed issues or helped resolve them, asked and
806answered questions, and were part of inspiring discussions.
807
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800808# Release 0.10.0
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800809
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800810## Major Features and Improvements
811
812* Added support for C++ shape inference
813* Added graph-construction C API
814* Major revision to the graph-construction C++ API
815* Support makefile build for iOS
816* Added Mac GPU support
817* Full version of TF-Slim available as `tf.contrib.slim`
818* Added k-Means clustering and WALS matrix factorization
819
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800820## Bug Fixes and Other Changes
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800821
822* Allow gradient computation for scalar values.
823* Performance improvements for gRPC
824* Improved support for fp16
825* New high-level ops in tf.contrib.{layers,metrics}
826* New features for TensorBoard, such as shape display, exponential smoothing
827* Faster and more stable Google Cloud Storage (GCS) filesystem support
828* Support for zlib compression and decompression for TFRecordReader and TFRecordWriter
829* Support for reading (animated) GIFs
830* Improved support for SparseTensor
831* Added support for more probability distributions (Dirichlet, Beta, Bernoulli, etc.)
832* Added Python interfaces to reset resource containers.
833* Many bugfixes and performance improvements
834* Many documentation fixes
835
836## Thanks to our Contributors
837
838This release contains contributions from many people at Google, as well as:
839
840Alex Rothberg, Andrew Royer, Austin Marshall, @BlackCoal, Bob Adolf, Brian Diesel, Charles-Emmanuel Dias, @chemelnucfin, Chris Lesniewski, Daeyun Shin, Daniel Rodriguez, Danijar Hafner, Darcy Liu, Kristinn R. Thórisson, Daniel Castro, Dmitry Savintsev, Kashif Rasul, Dylan Paiton, Emmanuel T. Odeke, Ernest Grzybowski, Gavin Sherry, Gideon Dresdner, Gregory King, Harold Cooper, @heinzbeinz, Henry Saputra, Huarong Huo, Huazuo Gao, Igor Babuschkin, Igor Macedo Quintanilha, Ivan Ukhov, James Fysh, Jan Wilken Dörrie, Jihun Choi, Johnny Lim, Jonathan Raiman, Justin Francis, @lilac, Li Yi, Marc Khoury, Marco Marchesi, Max Melnick, Micael Carvalho, @mikowals, Mostafa Gazar, Nico Galoppo, Nishant Agrawal, Petr Janda, Yuncheng Li, @raix852, Robert Rose, @Robin-des-Bois, Rohit Girdhar, Sam Abrahams, satok16, Sergey Kishchenko, Sharkd Tu, @shotat, Siddharth Agrawal, Simon Denel, @sono-bfio, SunYeop Lee, Thijs Vogels, @tobegit3hub, @Undo1, Wang Yang, Wenjian Huang, Yaroslav Bulatov, Yuan Tang, Yunfeng Wang, Ziming Dong
841
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800842We are also grateful to all who filed issues or helped resolve them, asked and
843answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800844
845# Release 0.9.0
846
847## Major Features and Improvements
848
849* Python 3.5 support and binaries
850* Added iOS support
851* Added support for processing on GPUs on MacOS
852* Added makefile for better cross-platform build support (C API only)
853* fp16 support and improved complex128 support for many ops
854* Higher level functionality in contrib.{layers,losses,metrics,learn}
855* More features to Tensorboard
856* Improved support for string embedding and sparse features
857* The RNN api is finally "official" (see, e.g., `tf.nn.dynamic_rnn`,
858 `tf.nn.rnn`, and the classes in `tf.nn.rnn_cell`).
859* TensorBoard now has an Audio Dashboard, with associated audio summaries.
860
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800861## Bug Fixes and Other Changes
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800862
863* Turned on CuDNN Autotune.
864* Added support for using third-party Python optimization algorithms (contrib.opt).
865* Google Cloud Storage filesystem support.
866* HDF5 support
867* Add support for 3d convolutions and pooling.
868* Update gRPC release to 0.14.
869* Eigen version upgrade.
870* Switch to eigen thread pool
871* `tf.nn.moments()` now accepts a `shift` argument. Shifting by a good estimate
872 of the mean improves numerical stability. Also changes the behavior of the
873 `shift` argument to `tf.nn.sufficient_statistics()`.
874* Performance improvements
875* Many bugfixes
876* Many documentation fixes
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800877* TensorBoard fixes: graphs with only one data point, Nan values,
878 reload button and auto-reload, tooltips in scalar charts, run
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800879 filtering, stable colors
880* Tensorboard graph visualizer now supports run metadata. Clicking on nodes
881 while viewing a stats for a particular run will show runtime statistics, such
882 as memory or compute usage. Unused nodes will be faded out.
883
884## Thanks to our Contributors
885
886This release contains contributions from many people at Google, as well as:
887
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800888Aaron Schumacher, Aidan Dang, Akihiko ITOH, Aki Sukegawa, Arbit Chen, Aziz Alto, Danijar Hafner, Erik Erwitt, Fabrizio Milo, Felix Maximilian Möller, Henry Saputra, Sung Kim, Igor Babuschkin, Jan Zikes, Jeremy Barnes, Jesper Steen Møller, Johannes Mayer, Justin Harris, Kashif Rasul, Kevin Robinson, Loo Rong Jie, Lucas Moura, Łukasz Bieniasz-Krzywiec, Mario Cho, Maxim Grechkin, Michael Heilman, Mostafa Rahmani, Mourad Mourafiq, @ninotoshi, Orion Reblitz-Richardson, Yuncheng Li, @raoqiyu, Robert DiPietro, Sam Abrahams, Sebastian Raschka, Siddharth Agrawal, @snakecharmer1024, Stephen Roller, Sung Kim, SunYeop Lee, Thijs Vogels, Till Hoffmann, Victor Melo, Ville Kallioniemi, Waleed Abdulla, Wenjian Huang, Yaroslav Bulatov, Yeison Rodriguez, Yuan Tang, Yuxin Wu, @zhongzyd, Ziming Dong, Zohar Jackson
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800889
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800890We are also grateful to all who filed issues or helped resolve them, asked and
891answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800892
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800893# Release 0.8.0
894
895## Major Features and Improvements
896
897* Added a distributed runtime using GRPC
898* Move skflow to `contrib/learn`
899* Better linear optimizer in `contrib/linear_optimizer`
900* Random forest implementation in `contrib/tensor_forest`
901* CTC loss and decoders in `contrib/ctc`
902* Basic support for `half` data type
903* Better support for loading user ops (see examples in `contrib/`)
904* Allow use of (non-blocking) Eigen threadpool with `TENSORFLOW_USE_EIGEN_THREADPOOL` define
905* Add an extension mechanism for adding network file system support
906* TensorBoard displays metadata stats (running time, memory usage and device used) and tensor shapes
907
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800908## Bug Fixes and Other Changes
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800909
910* Utility for inspecting checkpoints
911* Basic tracing and timeline support
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800912* Allow building against cuDNN 5 (not incl. RNN/LSTM support)
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800913* Added instructions and binaries for ProtoBuf library with fast serialization and without 64MB limit
914* Added special functions
Dan Mané54a71782016-09-09 16:07:46 -0800915* `bool`-strictness: Tensors have to be explicitly compared to `None`
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800916* Shape strictness: all fed values must have a shape that is compatible with the tensor they are replacing
917* Exposed `tf.while_loop` (deprecated `control_flow_ops.While`)
918* run() now takes RunOptions and RunMetadata, which enable timing stats
919* Fixed lots of potential overflow problems in op kernels
920* Various performance improvements, especially for RNNs and convolutions
921* Many bugfixes
922* Nightly builds, tutorial tests, many test improvements
923* New examples: transfer learning and deepdream ipython notebook
924* Added tutorials, many documentation fixes.
925
926## Thanks to our Contributors
927
928This release contains contributions from many people at Google, as well as:
929
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800930Abhinav Upadhyay, Aggelos Avgerinos, Alan Wu, Alexander G. de G. Matthews, Aleksandr Yahnev, @amchercashin, Andy Kitchen, Aurelien Geron, Awni Hannun, @BanditCat, Bas Veeling, Cameron Chen, @cg31, Cheng-Lung Sung, Christopher Bonnett, Dan Becker, Dan Van Boxel, Daniel Golden, Danijar Hafner, Danny Goodman, Dave Decker, David Dao, David Kretch, Dongjoon Hyun, Dustin Dorroh, @e-lin, Eurico Doirado, Erik Erwitt, Fabrizio Milo, @gaohuazuo, Iblis Lin, Igor Babuschkin, Isaac Hodes, Isaac Turner, Iván Vallés, J Yegerlehner, Jack Zhang, James Wexler, Jan Zikes, Jay Young, Jeff Hodges, @jmtatsch, Johnny Lim, Jonas Meinertz Hansen, Kanit Wongsuphasawat, Kashif Rasul, Ken Shirriff, Kenneth Mitchner, Kenta Yonekura, Konrad Magnusson, Konstantin Lopuhin, @lahwran, @lekaha, @liyongsea, Lucas Adams, @makseq, Mandeep Singh, @manipopopo, Mark Amery, Memo Akten, Michael Heilman, Michael Peteuil, Nathan Daly, Nicolas Fauchereau, @ninotoshi, Olav Nymoen, @panmari, @papelita1234, Pedro Lopes, Pranav Sailesh Mani, RJ Ryan, Rob Culliton, Robert DiPietro, @ronrest, Sam Abrahams, Sarath Shekkizhar, Scott Graham, Sebastian Raschka, Sung Kim, Surya Bhupatiraju, Syed Ahmed, Till Hoffmann, @timsl, @urimend, @vesnica, Vlad Frolov, Vlad Zagorodniy, Wei-Ting Kuo, Wenjian Huang, William Dmitri Breaden Madden, Wladimir Schmidt, Yuan Tang, Yuwen Yan, Yuxin Wu, Yuya Kusakabe, @zhongzyd, @znah.
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800931
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800932We are also grateful to all who filed issues or helped resolve them, asked and
933answered questions, and were part of inspiring discussions.
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800934
935
Eugene Brevdo56f1d642016-03-10 17:18:30 -0800936# Release 0.7.1
937
938## Bug Fixes and Other Changes
939
940* Added gfile.Open and gfile.Copy, used by input_data.py.
941* Fixed Saver bug when MakeDirs tried to create empty directory.
942* GPU Pip wheels are built with cuda 7.5 and cudnn-v4, making them
943 required for the binary releases. Lower versions of cuda/cudnn can
944 be supported by installing from sources and setting the options
945 during ./configure
946* Fix dataset encoding example for Python3 (@danijar)
947* Fix PIP installation by not packaging protobuf as part of wheel,
948 require protobuf 3.0.0b2.
949* Fix Mac pip installation of numpy by requiring pip >= 1.10.1.
950* Improvements and fixes to Docker image.
951
952
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800953# Release 0.7.0
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800954
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800955## Major Features and Improvements
956
957* Allow using any installed Cuda >= 7.0 and cuDNN >= R2, and add support
958 for cuDNN R4
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800959* Added a `contrib/` directory for unsupported or experimental features,
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800960 including higher level `layers` module
961* Added an easy way to add and dynamically load user-defined ops
962* Built out a good suite of tests, things should break less!
963* Added `MetaGraphDef` which makes it easier to save graphs with metadata
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800964* Added assignments for "Deep Learning with TensorFlow" udacity course
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800965
966
967## Bug Fixes and Other Changes
968
969* Added a versioning framework for `GraphDef`s to ensure compatibility
970* Enforced Python 3 compatibility
971* Internal changes now show up as sensibly separated commits
972* Open-sourced the doc generator
973* Un-fork Eigen
974* Simplified the `BUILD` files and cleaned up C++ headers
975* TensorFlow can now be used as a submodule in another bazel build
976* New ops (e.g., `*fft`, `*_matrix_solve`)
977* Support for more data types in many ops
978* Performance improvements
979* Various bugfixes
980* Documentation fixes and improvements
981
982
983## Breaking Changes to the API
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800984
985* `AdjustContrast` kernel deprecated, new kernel `AdjustContrastv2` takes and
986 outputs float only. `adjust_contrast` now takes all data types.
987* `adjust_brightness`'s `delta` argument is now always assumed to be in `[0,1]`
988 (as is the norm for images in floating point formats), independent of the
989 data type of the input image.
990* The image processing ops do not take `min` and `max` inputs any more, casting
991 safety is handled by `saturate_cast`, which makes sure over- and underflows
992 are handled before casting to data types with smaller ranges.
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -0800993* For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
994 `TensorShapeUtils` since TensorFlow is scalar strict within Google (for
995 example, the shape argument to `tf.reshape` can't be a scalar anymore). The
996 open source release was already scalar strict, so outside Google `IsScalar`
997 and `IsVector` are exact replacements.
Josh Levenbergdb7478e2016-01-20 14:54:50 -0800998* The following files are being removed from `tensorflow/core/public/`:
999 * `env.h` -> `../platform/env.h`
1000 * `status.h` -> `../lib/core/status.h`
1001 * `tensor.h` -> `../framework/tensor.h`
1002 * `tensor_shape.h` -> `../framework/tensor_shape.h`
1003 * `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
1004 * `tensorflow_server.h` deleted
Geoffrey Irving56437752016-01-25 09:43:13 -08001005* For C++ API users: `TensorShape::ShortDebugString` has been renamed to
1006 `DebugString`, and the previous `DebugString` behavior is gone (it was
1007 needlessly verbose and produced a confusing empty string for scalars).
Manjunath Kudlurc2722a12016-01-27 13:24:50 -08001008* `GraphOptions.skip_common_subexpression_elimination` has been removed. All
1009 graph optimizer options are now specified via
1010 `GraphOptions.OptimizerOptions`.
Geoffrey Irving18297122016-02-10 11:48:34 -08001011* `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
1012 were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
1013 currently maintained for short-term compatibility but will be removed.
Eugene Brevdofea55e12016-01-27 14:54:54 -08001014* The non-public `nn.rnn` and the various `nn.seq2seq` methods now return
1015 just the final state instead of the list of all states.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001016* `tf.scatter_update` now no longer guarantees that lexicographically largest
1017 index be used for update when duplicate entries exist.
Geoffrey Irving3e33d442016-02-08 12:02:44 -08001018* `tf.image.random_crop(image, [height, width])` is now
1019 `tf.random_crop(image, [height, width, depth])`, and `tf.random_crop` works
1020 for any rank (not just 3-D images). The C++ `RandomCrop` op has been replaced
1021 with pure Python.
Geoffrey Irving18297122016-02-10 11:48:34 -08001022* Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
1023 `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
1024 compatibility.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001025* `parse_example`'s interface has changed, the old interface is accessible in
1026 `legacy_parse_example` (same for related functions).
1027* New `Variable`s are not added to the same collection several times even if
1028 a list with duplicates is passed to the constructor.
Josh Levenberg02dff6d2016-01-07 18:37:54 -08001029* The Python API will now properly set the `list` member of `AttrValue` in
1030 constructed `GraphDef` messages for empty lists. The serialization of some
1031 graphs will change, but the change is both forwards and backwards compatible.
1032 It will break tests that compare a generated `GraphDef` to a golden serialized
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001033 `GraphDef` (which is discouraged).
1034
1035
1036## Thanks to our Contributors
1037
1038This release contains contributions from many people at Google, as well as:
1039
1040Akiomi Kamakura, Alex Vig, Alexander Rosenberg Johansen, Andre Cruz, Arun Ahuja,
1041Bart Coppens, Bernardo Pires, Carl Vondrick, Cesar Salgado, Chen Yu,
1042Christian Jauvin, Damien Aymeric, Dan Vanderkam, Denny Britz, Dongjoon Hyun,
1043Eren Güven, Erik Erwitt, Fabrizio Milo, G. Hussain Chinoy, Jim Fleming,
1044Joao Felipe Santos, Jonas Meinertz Hansen, Joshi Rekha, Julian Viereck,
1045Keiji Ariyama, Kenton Lee, Krishna Sankar, Kristina Chodorow, Linchao Zhu,
1046Lukas Krecan, Mark Borgerding, Mark Daoust, Moussa Taifi,
1047Nathan Howell, Naveen Sundar Govindarajulu, Nick Sweeting, Niklas Riekenbrauck,
1048Olivier Grisel, Patrick Christ, Povilas Liubauskas, Rainer Wasserfuhr,
1049Romain Thouvenin, Sagan Bolliger, Sam Abrahams, Taehoon Kim, Timothy J Laurent,
1050Vlad Zavidovych, Yangqing Jia, Yi-Lin Juang, Yuxin Wu, Zachary Lipton,
1051Zero Chen, Alan Wu, @brchiu, @emmjaykay, @jalammar, @Mandar-Shinde,
1052@nsipplswezey, @ninotoshi, @panmari, @prolearner and @rizzomichaelg.
1053
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001054We are also grateful to all who filed issues or helped resolve them, asked and
1055answered questions, and were part of inspiring discussions.
Josh Levenberg02dff6d2016-01-07 18:37:54 -08001056
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -08001057
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001058# Release 0.6.0
1059
1060## Major Features and Improvements
1061
1062* Python 3.3+ support via changes to python codebase and ability
1063 to specify python version via ./configure.
1064
1065* Some improvements to GPU performance and memory usage:
1066 [convnet benchmarks](https://github.com/soumith/convnet-benchmarks/issues/66)
1067 roughly equivalent with native cudnn v2 performance. Improvements mostly due
1068 to moving to 32-bit indices, faster shuffling kernels. More improvements to
1069 come in later releases.
1070
1071
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001072## Bug Fixes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001073
1074* Lots of fixes to documentation and tutorials, many contributed
1075 by the public.
1076
1077* 271 closed issues on github issues.
1078
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001079## Backwards-Incompatible Changes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001080
Geoffrey Irving18297122016-02-10 11:48:34 -08001081* `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion'
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001082 attribute from 0.0 to 1.0. This was a bug in the original release
1083 that is now fixed.
1084
Vijay Vasudevanddd4aaf2015-12-08 09:58:59 -08001085# Release 0.5.0
1086
1087Initial release of TensorFlow.