blob: 0720a8c639f8ab87214b11f6a8092b432b916853 [file] [log] [blame] [view]
Ankur Taly0e6f39d2018-02-16 18:22:55 -08001# Release 1.6.0
2
3## Breaking Changes
4* Prebuilt binaries are now built against CUDA 9.0 and cuDNN 7.
5* Prebuilt binaries will use AVX instructions. This may break TF on older CPUs.
6
7## Major Features And Improvements
8* New Optimizer internal API for non-slot variables. Descendants of AdamOptimizer that access _beta[12]_power will need to be updated.
9* `tf.estimator.{FinalExporter,LatestExporter}` now export stripped SavedModels. This improves forward compatibility of the SavedModel.
10* FFT support added to XLA CPU/GPU.
11
12## Bug Fixes and Other Changes
13* Documentation updates:
14 * Added a second version of Getting Started, which is aimed at ML
15newcomers.
16 * Clarified documentation on `resize_images.align_corners` parameter.
17 * Additional documentation for TPUs.
18* Google Cloud Storage (GCS):
19 * Add client-side throttle.
20 * Add a `FlushCaches()` method to the FileSystem interface, with an implementation for GcsFileSystem.
21* Other:
22 * Add `tf.contrib.distributions.Kumaraswamy`.
23 * `RetryingFileSystem::FlushCaches()` calls the base FileSystem's `FlushCaches()`.
24 * Add auto_correlation to distributions.
25 * Add `tf.contrib.distributions.Autoregressive`.
26 * Add SeparableConv1D layer.
27 * Add convolutional Flipout layers.
28 * When both inputs of `tf.matmul` are bfloat16, it returns bfloat16, instead of float32.
29 * Added `tf.contrib.image.connected_components`.
30 * Add `tf.contrib.framework.CriticalSection` that allows atomic variable access.
31 * Output variance over trees predictions for classifications tasks.
32 * For `pt` and `eval` commands, allow writing tensor values to filesystem as numpy files.
33 * gRPC: Propagate truncated errors (instead of returning gRPC internal error).
34 * Augment parallel_interleave to support 2 kinds of prefetching.
35 * Improved XLA support for C64-related ops log, pow, atan2, tanh.
36 * Add probabilistic convolutional layers.
37
38## API Changes
39* Introducing prepare_variance boolean with default setting to False for backward compatibility.
40* Move `layers_dense_variational_impl.py` to `layers_dense_variational.py`.
41
42## Known Bugs
43* Using XLA:GPU with CUDA 9 and CUDA 9.1 results in garbage results and/or
44 `CUDA_ILLEGAL_ADDRESS` failures.
45
46 Google discovered in mid-December 2017 that the PTX-to-SASS compiler in CUDA 9
47 and CUDA 9.1 sometimes does not properly compute the carry bit when
48 decomposing 64-bit address calculations with large offsets (e.g. `load [x +
49 large_constant]`) into 32-bit arithmetic in SASS.
50
51 As a result, these versions of `ptxas` miscompile most XLA programs which use
52 more than 4GB of temp memory. This results in garbage results and/or
53 `CUDA_ERROR_ILLEGAL_ADDRESS` failures.
54
55 A fix in CUDA 9.1.121 is expected in late February 2018. We do not expect a
56 fix for CUDA 9.0.x. Until the fix is available, the only workaround is to
57 [downgrade](https://developer.nvidia.com/cuda-toolkit-archive) to CUDA 8.0.x
58 or disable XLA:GPU.
59
60 TensorFlow will print a warning if you use XLA:GPU with a known-bad version of
61 CUDA; see e00ba24c4038e7644da417ddc639169b6ea59122.
62
63## Thanks to our Contributors
64
65This release contains contributions from many people at Google, as well as:
66
674d55397500, Ag Ramesh, Aiden Scandella, Akimasa Kimura, Alex Rothberg, Allen Goodman,
68amilioto, Andrei Costinescu, Andrei Nigmatulin, Anjum Sayed, Anthony Platanios,
69Anush Elangovan, Armando Fandango, Ashish Kumar Ram, Ashwini Shukla, Ben, Bhavani Subramanian,
70Brett Koonce, Carl Thomé, cclauss, Cesc, Changming Sun, Christoph Boeddeker, Clayne Robison,
71Clemens Schulz, Clint (Woonhyuk Baek), codrut3, Cole Gerdemann, Colin Raffel, Daniel Trebbien,
72Daniel Ylitalo, Daniel Zhang, Daniyar, Darjan Salaj, Dave Maclachlan, David Norman, Dong--Jian,
73dongsamb, dssgsra, Edward H, eladweiss, elilienstein, Eric Lilienstein, error.d, Eunji Jeong, fanlu,
74Florian Courtial, fo40225, Fred, Gregg Helt, Guozhong Zhuang, Hanchen Li, hsm207, hyunyoung2,
75ImSheridan, Ishant Mrinal Haloi, Jacky Ko, Jay Young, Jean Flaherty, Jerome, JerrikEph, Jesse
76Kinkead, jfaath, Jian Lin, jinghuangintel, Jiongyan Zhang, Joel Hestness, Joel Shor, Johnny Chan,
77Julian Niedermeier, Julian Wolff, JxKing, K-W-W, Karl Lessard, Kasper Marstal, Keiji Ariyama,
78Koan-Sin Tan, Loki Der Quaeler, Loo Rong Jie, Luke Schaefer, Lynn Jackson, ManHyuk, Matt Basta,
79Matt Smith, Matthew Schulkind, Michael, michaelkhan3, Miguel Piedrafita, Mikalai Drabovich,
80Mike Knapp, mjwen, mktozk, Mohamed Aly, Mohammad Ashraf Bhuiyan, Myungjoo Ham, Naman Bhalla,
81Namrata-Ibm, Nathan Luehr, nathansilberman, Netzeband, Niranjan Hasabnis, Omar Aflak, Ozge
82Yalcinkaya, Parth P Panchal, patrickzzy, Patryk Chrabaszcz, Paul Van Eck, Paweł Kapica, Peng Yu,
83Philip Yang, Pierre Blondeau, Po-Hsien Chu, powderluv, Puyu Wang, Rajendra Arora, Rasmus, Renat
84Idrisov, resec, Robin Richtsfeld, Ronald Eddy Jr, Sahil Singh, Sam Matzek, Sami Kama, sandipmgiri,
85Santiago Castro, Sayed Hadi Hashemi, Scott Tseng, Sergii Khomenko, Shahid, Shengpeng Liu, Shreyash
86Sharma, Shrinidhi Kl, Simone Cirillo, simsicon, Stanislav Levental, starsblinking, Stephen Lumenta,
87Steven Hickson, Su Tang, Taehoon Lee, Takuya Wakisaka, Ted Chang, Ted Ying, Tijmen Verhulsdonck,
88Timofey Kondrashov, vade, vaibhav, Valentin Khrulkov, vchigrin, Victor Costan, Viraj Navkal,
89Vivek Rane, wagonhelm, Yan Facai (颜发才), Yanbo Liang, Yaroslav Bulatov, yegord, Yong Tang,
90Yoni Tsafir, yordun, Yuan (Terry) Tang, Yuxin Wu, zhengdi, Zhengsheng Wei, 田传武
91
Frank Chenc4ef9272018-01-10 11:36:52 -080092# Release 1.5.0
93
94## Breaking Changes
Michael Cased90054e2018-02-07 14:36:00 -080095* Prebuilt binaries are now built against CUDA 9.0 and cuDNN 7.
Frank Chenc4ef9272018-01-10 11:36:52 -080096* Starting from 1.6 release, our prebuilt binaries will use AVX instructions.
97 This may break TF on older CPUs.
98
Michael Cased90054e2018-02-07 14:36:00 -080099## Known Bugs
100* Using XLA:GPU with CUDA 9 and CUDA 9.1 results in garbage results and/or
101 `CUDA_ILLEGAL_ADDRESS` failures.
102
103 Google discovered in mid-December 2017 that the PTX-to-SASS compiler in CUDA 9
104 and CUDA 9.1 sometimes does not properly compute the carry bit when
105 decomposing 64-bit address calculations with large offsets (e.g. `load [x +
106 large_constant]`) into 32-bit arithmetic in SASS.
107
108 As a result, these versions of `ptxas` miscompile most XLA programs which use
109 more than 4GB of temp memory. This results in garbage results and/or
110 `CUDA_ERROR_ILLEGAL_ADDRESS` failures.
111
112 A fix in CUDA 9.1.121 is expected in late February 2018. We do not expect a
113 fix for CUDA 9.0.x. Until the fix is available, the only workaround is to
114 [downgrade](https://developer.nvidia.com/cuda-toolkit-archive) to CUDA 8.0.x
115 or disable XLA:GPU.
116
117 TensorFlow will print a warning if you use XLA:GPU with a known-bad version of
118 CUDA; see e00ba24c4038e7644da417ddc639169b6ea59122.
119
Frank Chenc4ef9272018-01-10 11:36:52 -0800120## Major Features And Improvements
121* [Eager execution](https://github.com/tensorflow/tensorflow/tree/r1.5/tensorflow/contrib/eager)
122 preview version is now available.
123* [TensorFlow Lite](https://github.com/tensorflow/tensorflow/tree/r1.5/tensorflow/contrib/lite)
124 dev preview is now available.
Michael Cased90054e2018-02-07 14:36:00 -0800125* CUDA 9.0 and cuDNN 7 support.
Jianwei Xied9f93c42018-01-24 10:02:35 -0800126* Accelerated Linear Algebra (XLA):
127 * Add `complex64` support to XLA compiler.
128 * `bfloat` support is now added to XLA infrastructure.
129 * Make `ClusterSpec` propagation work with XLA devices.
130 * Use a determinisitic executor to generate XLA graph.
131* `tf.contrib`:
132 * `tf.contrib.distributions`:
133 * Add `tf.contrib.distributions.Autoregressive`.
134 * Make `tf.contrib.distributions` QuadratureCompound classes support batch
135 * Infer `tf.contrib.distributions.RelaxedOneHotCategorical` `dtype` from arguments.
136 * Make `tf.contrib.distributions` quadrature family parameterized by
137 `quadrature_grid_and_prob` vs `quadrature_degree`.
138 * `auto_correlation` added to `tf.contrib.distributions`
139 * Add `tf.contrib.bayesflow.layers`, a collection of probabilistic (neural) layers.
140 * Add `tf.contrib.bayesflow.halton_sequence`.
141 * Add `tf.contrib.data.make_saveable_from_iterator.`
142 * Add `tf.contrib.data.shuffle_and_repeat`.
143 * Add new custom transformation: `tf.contrib.data.scan()`.
144 * `tf.contrib.distributions.bijectors`:
145 * Add `tf.contrib.distributions.bijectors.MaskedAutoregressiveFlow`.
146 * Add `tf.contrib.distributions.bijectors.Permute`.
147 * Add `tf.contrib.distributions.bijectors.Gumbel`.
148 * Add `tf.contrib.distributions.bijectors.Reshape`.
149 * Support shape inference (i.e., shapes containing -1) in the Reshape bijector.
150* Add `streaming_precision_recall_at_equal_thresholds,` a method for computing
151 streaming precision and recall with `O(num_thresholds + size of predictions)`
152 time and space complexity.
153* Change `RunConfig` default behavior to not set a random seed, making random
154 behavior independently random on distributed workers. We expect this to
155 generally improve training performance. Models that do rely on determinism
156 should set a random seed explicitly.
157* Replaced the implementation of `tf.flags` with `absl.flags`.
158* Add support for `CUBLAS_TENSOR_OP_MATH` in fp16 GEMM
159* Add support for CUDA on NVIDIA Tegra devices
Frank Chenc4ef9272018-01-10 11:36:52 -0800160
161## Bug Fixes and Other Changes
Jianwei Xied9f93c42018-01-24 10:02:35 -0800162* Documentation updates:
163 * Clarified that you can only install TensorFlow on 64-bit machines.
164 * Added a short doc explaining how `Estimator`s save checkpoints.
165 * Add documentation for ops supported by the `tf2xla` bridge.
166 * Fix minor typos in the doc of `SpaceToDepth` and `DepthToSpace`.
167 * Updated documentation comments in `mfcc_mel_filterbank.h` and `mfcc.h` to
168 clarify that the input domain is squared magnitude spectra and the weighting
169 is done on linear magnitude spectra (sqrt of inputs).
170 * Change `tf.contrib.distributions` docstring examples to use `tfd` alias
171 rather than `ds`, `bs`.
172 * Fix docstring typos in `tf.distributions.bijectors.Bijector`.
173 * `tf.assert_equal` no longer raises `ValueError.` It now raises
174 `InvalidArgumentError,` as documented.
175 * Update Getting Started docs and API intro.
176* Google Cloud Storage (GCS):
177 * Add userspace DNS caching for the GCS client.
178 * Customize request timeouts for the GCS filesystem.
179 * Improve GCS filesystem caching.
180* Bug Fixes:
181 * Fix bug where partitioned integer variables got their wrong shapes. Before
182 * Fix correctness bug in CPU and GPU implementations of Adadelta.
183 * Fix a bug in `import_meta_graph`'s handling of partitioned variables when
184 importing into a scope. WARNING: This may break loading checkpoints of
185 graphs with partitioned variables saved after using `import_meta_graph` with
186 a non-empty `import_scope` argument.
187 * Fix bug in offline debugger which prevented viewing events.
188 * Added the `WorkerService.DeleteWorkerSession` method to the gRPC interface,
189 to fix a memory leak. Ensure that your master and worker servers are running
190 the same version of TensorFlow to avoid compatibility issues.
191 * Fix bug in peephole implementation of BlockLSTM cell.
192 * Fix bug by casting dtype of `log_det_jacobian` to match `log_prob` in
193 `TransformedDistribution`.
194 * Fix a bug in `import_meta_graph`'s handling of partitioned variables when
195 * Ensure `tf.distributions.Multinomial` doesn't underflow in `log_prob`.
196 Before this change, all partitions of an integer variable were initialized
197 with the shape of the unpartitioned variable; after this change they are
198 initialized correctly.
199* Other:
200 * Add necessary shape util support for bfloat16.
201 * Add a way to run ops using a step function to MonitoredSession.
202 * Add `DenseFlipout` probabilistic layer.
203 * A new flag `ignore_live_threads` is available on train. If set to `True`, it
204 will ignore threads that remain running when tearing down infrastructure
205 after successfully completing training, instead of throwing a RuntimeError.
206 * Restandardize `DenseVariational` as simpler template for other probabilistic
207 layers.
208 * `tf.data` now supports `tf.SparseTensor` components in dataset elements.
209 * It is now possible to iterate over `Tensor`s.
210 * Allow `SparseSegmentReduction` ops to have missing segment IDs.
211 * Modify custom export strategy to account for multidimensional sparse float
212 splits.
213 * `Conv2D`, `Conv2DBackpropInput`, `Conv2DBackpropFilter` now supports arbitrary
214 dilations with GPU and cuDNNv6 support.
215 * `Estimator` now supports `Dataset`: `input_fn` can return a `Dataset`
216 instead of `Tensor`s.
217 * Add `RevBlock`, a memory-efficient implementation of reversible residual layers.
218 * Reduce BFCAllocator internal fragmentation.
219 * Add `cross_entropy` and `kl_divergence` to `tf.distributions.Distribution`.
220 * Add `tf.nn.softmax_cross_entropy_with_logits_v2` which enables backprop
221 w.r.t. the labels.
222 * GPU back-end now uses `ptxas` to compile generated PTX.
223 * `BufferAssignment`'s protocol buffer dump is now deterministic.
224 * Change embedding op to use parallel version of `DynamicStitch`.
225 * Add support for sparse multidimensional feature columns.
226 * Speed up the case for sparse float columns that have only 1 value.
227 * Allow sparse float splits to support multivalent feature columns.
228 * Add `quantile` to `tf.distributions.TransformedDistribution`.
229 * Add `NCHW_VECT_C` support for `tf.depth_to_space` on GPU.
230 * Add `NCHW_VECT_C` support for `tf.space_to_depth` on GPU.
231
232## API Changes
233* Rename `SqueezeDims` attribute to `Axis` in C++ API for Squeeze op.
Frank Chenc4ef9272018-01-10 11:36:52 -0800234* `Stream::BlockHostUntilDone` now returns Status rather than bool.
Jianwei Xied9f93c42018-01-24 10:02:35 -0800235* Minor refactor: move stats files from `stochastic` to `common` and remove
236 `stochastic`.
Frank Chenc4ef9272018-01-10 11:36:52 -0800237
Ankur Taly0e6f39d2018-02-16 18:22:55 -0800238## Known Bugs
239* Using XLA:GPU with CUDA 9 and CUDA 9.1 results in garbage results and/or
240 `CUDA_ILLEGAL_ADDRESS` failures.
241
242 Google discovered in mid-December 2017 that the PTX-to-SASS compiler in CUDA 9
243 and CUDA 9.1 sometimes does not properly compute the carry bit when
244 decomposing 64-bit address calculations with large offsets (e.g. `load [x +
245 large_constant]`) into 32-bit arithmetic in SASS.
246
247 As a result, these versions of `ptxas` miscompile most XLA programs which use
248 more than 4GB of temp memory. This results in garbage results and/or
249 `CUDA_ERROR_ILLEGAL_ADDRESS` failures.
250
251 A fix in CUDA 9.1.121 is expected in late February 2018. We do not expect a
252 fix for CUDA 9.0.x. Until the fix is available, the only workaround is to
253 [downgrade](https://developer.nvidia.com/cuda-toolkit-archive) to CUDA 8.0.x
254 or disable XLA:GPU.
255
256 TensorFlow will print a warning if you use XLA:GPU with a known-bad version of
257 CUDA; see e00ba24c4038e7644da417ddc639169b6ea59122.
258
Frank Chenc4ef9272018-01-10 11:36:52 -0800259## Thanks to our Contributors
260
261This release contains contributions from many people at Google, as well as:
262
Jianwei Xied9f93c42018-01-24 10:02:35 -0800263Adam Zahran, Ag Ramesh, Alan Lee, Alan Yee, Alex Sergeev, Alexander, Amir H. Jadidinejad,
264Amy, Anastasios Doumoulakis, Andrei Costinescu, Andrei Nigmatulin, Anthony Platanios,
265Anush Elangovan, arixlin, Armen Donigian, ArtëM Sobolev, Atlas7, Ben Barsdell, Bill Prin,
266Bo Wang, Brett Koonce, Cameron Thomas, Carl Thomé, Cem Eteke, cglewis, Changming Sun,
267Charles Shenton, Chi-Hung, Chris Donahue, Chris Filo Gorgolewski, Chris Hoyean Song,
268Chris Tava, Christian Grail, Christoph Boeddeker, cinqS, Clayne Robison, codrut3, concerttttt,
269CQY, Dan Becker, Dan Jarvis, Daniel Zhang, David Norman, dmaclach, Dmitry Trifonov,
270Donggeon Lim, dongpilYu, Dr. Kashif Rasul, Edd Wilder-James, Eric Lv, fcharras, Felix Abecassis,
271FirefoxMetzger, formath, FredZhang, Gaojin Cao, Gary Deer, Guenther Schmuelling, Hanchen Li,
272Hanmin Qin, hannesa2, hyunyoung2, Ilya Edrenkin, Jackson Kontny, Jan, Javier Luraschi,
273Jay Young, Jayaram Bobba, Jeff, Jeff Carpenter, Jeremy Sharpe, Jeroen BéDorf, Jimmy Jia,
274Jinze Bai, Jiongyan Zhang, Joe Castagneri, Johan Ju, Josh Varty, Julian Niedermeier,
275JxKing, Karl Lessard, Kb Sriram, Keven Wang, Koan-Sin Tan, Kyle Mills, lanhin, LevineHuang,
276Loki Der Quaeler, Loo Rong Jie, Luke Iwanski, LáSzló Csomor, Mahdi Abavisani, Mahmoud Abuzaina,
277ManHyuk, Marek ŠUppa, MathSquared, Mats Linander, Matt Wytock, Matthew Daley, Maximilian Bachl,
278mdymczyk, melvyniandrag, Michael Case, Mike Traynor, miqlas, Namrata-Ibm, Nathan Luehr,
279Nathan Van Doorn, Noa Ezra, Nolan Liu, Oleg Zabluda, opensourcemattress, Ouwen Huang,
280Paul Van Eck, peisong, Peng Yu, PinkySan, pks, powderluv, Qiao Hai-Jun, Qiao Longfei,
281Rajendra Arora, Ralph Tang, resec, Robin Richtsfeld, Rohan Varma, Ryohei Kuroki, SaintNazaire,
282Samuel He, Sandeep Dcunha, sandipmgiri, Sang Han, scott, Scott Mudge, Se-Won Kim, Simon Perkins,
283Simone Cirillo, Steffen Schmitz, Suvojit Manna, Sylvus, Taehoon Lee, Ted Chang, Thomas Deegan,
284Till Hoffmann, Tim, Toni Kunic, Toon Verstraelen, Tristan Rice, Urs KöSter, Utkarsh Upadhyay,
285Vish (Ishaya) Abrams, Winnie Tsang, Yan Chen, Yan Facai (颜发才), Yi Yang, Yong Tang,
286Youssef Hesham, Yuan (Terry) Tang, Zhengsheng Wei, zxcqwe4906, 张志豪, 田传武
Frank Chenc4ef9272018-01-10 11:36:52 -0800287
288We are also grateful to all who filed issues or helped resolve them, asked and
289answered questions, and were part of inspiring discussions.
290
291# Release 1.4.1
292
293## Bug Fixes and Other Changes
Jianwei Xied9f93c42018-01-24 10:02:35 -0800294* `LinearClassifier` fix.
295
296# Release 1.4.0
297
298## Major Features And Improvements
299* `tf.keras` is now part of the core TensorFlow API.
300* [`tf.data`](http://tensorflow.org/programmers_guide/datasets) is now part of
301 the core TensorFlow API.
302 * The API is now subject to backwards compatibility guarantees.
Frank Chenc4ef9272018-01-10 11:36:52 -0800303
Eugene Brevdocb331412017-08-22 11:10:29 -0700304# Release 1.4.0
305
306## Major Features And Improvements
Benoit Steiner355e25e2017-10-24 19:47:46 -0700307* `tf.keras` is now part of the core TensorFlow API.
Mark Daouste6623e32017-10-17 14:44:47 -0700308* [`tf.data`](http://tensorflow.org/programmers_guide/datasets) is now part of
309 the core TensorFlow API.
Derek Murrayf6e187a2017-10-04 19:07:31 -0700310 * The API is now subject to backwards compatibility guarantees.
311 * For a guide to migrating from the `tf.contrib.data` API, see the
Benoit Steiner355e25e2017-10-24 19:47:46 -0700312 [README](https://github.com/tensorflow/tensorflow/blob/r1.4/tensorflow/contrib/data/README.md).
Derek Murrayf6e187a2017-10-04 19:07:31 -0700313 * Major new features include `Dataset.from_generator()` (for building an input
314 pipeline from a Python generator), and the `Dataset.apply()` method for
315 applying custom transformation functions.
316 * Several custom transformation functions have been added, including
317 `tf.contrib.data.batch_and_drop_remainder()` and
318 `tf.contrib.data.sloppy_interleave()`.
Benoit Steiner355e25e2017-10-24 19:47:46 -0700319* Add `train_and_evaluate` for simple distributed `Estimator` training.
320* Add `tf.spectral.dct` for computing the DCT-II.
321* Add Mel-Frequency Cepstral Coefficient support to `tf.contrib.signal`
322 (with GPU and gradient support).
323* Add a self-check on `import tensorflow` for Windows DLL issues.
324* Add NCHW support to `tf.depth_to_space` on GPU.
Andrew Harp88917882017-11-02 15:22:08 -0700325* TensorFlow Debugger (tfdbg):
326 * Add `eval` command to allow evaluation of arbitrary Python/numpy expressions
327 in tfdbg command-line interface. See
328 [Debugging TensorFlow Programs](https://www.tensorflow.org/programmers_guide/debugger)
329 for more details.
330 * Usability improvement: The frequently used tensor filter `has_inf_or_nan` is
331 now added to `Session` wrappers and hooks by default. So there is no need
332 for clients to call `.add_tensor_filter(tf_debug.has_inf_or_nan)` anymore.
Benoit Steiner355e25e2017-10-24 19:47:46 -0700333* SinhArcsinh (scalar) distribution added to `contrib.distributions`.
334* Make `GANEstimator` opensource.
335* `Estimator.export_savedmodel()` now includes all valid serving signatures
336 that can be constructed from the Serving Input Receiver and all available
337 ExportOutputs. For instance, a classifier may provide regression- and
338 prediction-flavored outputs, in addition to the classification-flavored one.
339 Building signatures from these allows TF Serving to honor requests using the
340 different APIs (Classify, Regress, and Predict). Furthermore,
341 `serving_input_receiver_fn()` may now specify alternative subsets of nodes
342 that may act as inputs. This allows, for instance, producing a prediction
343 signature for a classifier that accepts raw `Tensors` instead of a serialized
344 `tf.Example`.
345* Add `tf.contrib.bayesflow.hmc`.
346* Add `tf.contrib.distributions.MixtureSameFamily`.
347* Make `Dataset.shuffle()` always reshuffles after each iteration by default.
348* Add `tf.contrib.bayesflow.metropolis_hastings`.
349* Add `log_rate` parameter to `tf.contrib.distributions.Poisson`.
350* Extend `tf.contrib.distributions.bijector` API to handle some non-injective
351 transforms.
Asim Shankarc7246912017-10-03 08:55:28 -0700352* Java:
Benoit Steiner355e25e2017-10-24 19:47:46 -0700353 * Generics (e.g., `Tensor<Integer>`) for improved type-safety
354 (courtesy @andrewcmyers).
Asim Shankarc7246912017-10-03 08:55:28 -0700355 * Support for multi-dimensional string tensors.
Benoit Steiner355e25e2017-10-24 19:47:46 -0700356 * Support loading of custom operations (e.g. many in `tf.contrib`) on Linux
357 and OS X
358* All our prebuilt binaries have been built with CUDA 8 and cuDNN 6.
359 We anticipate releasing TensorFlow 1.5 with CUDA 9 and cuDNN 7.
Eugene Brevdocb331412017-08-22 11:10:29 -0700360
361## Bug Fixes and Other Changes
362* `tf.nn.rnn_cell.DropoutWrapper` is now more careful about dropping out LSTM
363 states. Specifically, it no longer ever drops the `c` (memory) state of an
364 `LSTMStateTuple`. The new behavior leads to proper dropout behavior
365 for LSTMs and stacked LSTMs. This bug fix follows recommendations from
366 published literature, but is a behavioral change. State dropout behavior
367 may be customized via the new `dropout_state_filter_visitor` argument.
Eugene Brevdo48e3b622017-08-30 09:27:00 -0700368* Removed `tf.contrib.training.python_input`. The same behavior, in a more
369 flexible and reproducible package, is available via the new
370 `tf.contrib.data.Dataset.from_generator` method!
Benoit Steiner355e25e2017-10-24 19:47:46 -0700371* Fix `tf.contrib.distributions.Affine` incorrectly computing log-det-jacobian.
372* Fix `tf.random_gamma` incorrectly handling non-batch, scalar draws.
373* Resolved a race condition in TensorForest TreePredictionsV4Op.
Andrew Harp88917882017-11-02 15:22:08 -0700374* Google Cloud Storage file system, Amazon S3 file system, and Hadoop file
375 system support are now default build options.
Benoit Steiner355e25e2017-10-24 19:47:46 -0700376* Custom op libraries must link against libtensorflow_framework.so
377 (installed at `tf.sysconfig.get_lib()`).
Andrew Harp88917882017-11-02 15:22:08 -0700378* Change `RunConfig` default behavior to not set a random seed, making random
379 behavior independently random on distributed workers. We expect this to
380 generally improve training performance. Models that do rely on determinism
381 should set a random seed explicitly.
Eugene Brevdocb331412017-08-22 11:10:29 -0700382
Derek Murrayf6e187a2017-10-04 19:07:31 -0700383## Breaking Changes to the API
384* The signature of the `tf.contrib.data.rejection_resample()` function has been
385 changed. It now returns a function that can be used as an argument to
386 `Dataset.apply()`.
Benoit Steiner355e25e2017-10-24 19:47:46 -0700387* Remove `tf.contrib.data.Iterator.from_dataset()` method. Use
388 `Dataset.make_initializable_iterator()` instead.
389* Remove seldom used and unnecessary `tf.contrib.data.Iterator.dispose_op()`.
390* Reorder some TFGAN loss functions in a non-backwards compatible way.
391
Andrew Harp88917882017-11-02 15:22:08 -0700392## Known Issues
393* In Python 3, `Dataset.from_generator()` does not support Unicode strings.
394 You must convert any strings to bytes objects before yielding them from
395 the generator.
396
Benoit Steiner355e25e2017-10-24 19:47:46 -0700397## Thanks to our Contributors
398
399This release contains contributions from many people at Google, as well as:
400
4014d55397500, Abdullah Alrasheed, abenmao, Adam Salvail, Aditya Dhulipala, Ag Ramesh,
402Akimasa Kimura, Alan Du, Alan Yee, Alexander, Amit Kushwaha, Amy, Andrei Costinescu,
403Andrei Nigmatulin, Andrew Erlichson, Andrew Myers, Andrew Stepanov, Androbin, AngryPowman,
404Anish Shah, Anton Daitche, Artsiom Chapialiou, asdf2014, Aseem Raj Baranwal, Ash Hall,
405Bart Kiers, Batchu Venkat Vishal, ben, Ben Barsdell, Bill Piel, Carl Thomé, Catalin Voss,
406Changming Sun, Chengzhi Chen, Chi Zeng, Chris Antaki, Chris Donahue, Chris Oelmueller,
407Chris Tava, Clayne Robison, Codrut, Courtial Florian, Dalmo Cirne, Dan J, Darren Garvey,
408David Kristoffersson, David Norman, David RöThlisberger, DavidNorman, Dhruv, DimanNe,
409Dorokhov, Duncan Mac-Vicar P, EdwardDixon, EMCP, error.d, FAIJUL, Fan Xia,
410Francois Xavier, Fred Reiss, Freedom" Koan-Sin Tan, Fritz Obermeyer, Gao, Xiang,
411Guenther Schmuelling, Guo Yejun (郭叶军), Hans Gaiser, HectorSVC, Hyungsuk Yoon,
412James Pruegsanusak, Jay Young, Jean Wanka, Jeff Carpenter, Jeremy Rutman, Jeroen BéDorf,
413Jett Jones, Jimmy Jia, jinghuangintel, jinze1994, JKurland, Joel Hestness, joetoth,
414John B Nelson, John Impallomeni, John Lawson, Jonas, Jonathan Dekhtiar, joshkyh, Jun Luan,
415Jun Mei, Kai Sasaki, Karl Lessard, karl@kubx.ca, Kb Sriram, Kenichi Ueno, Kevin Slagle,
416Kongsea, Lakshay Garg, lhlmgr, Lin Min, liu.guangcong, Loki Der Quaeler, Louie Helm,
417lucasmoura, Luke Iwanski, Lyndon White, Mahmoud Abuzaina, Marcel Puyat, Mark Aaron Shirley,
418Michele Colombo, MtDersvan, Namrata-Ibm, Nathan Luehr, Naurril, Nayana Thorat, Nicolas Lopez,
419Niranjan Hasabnis, Nolan Liu, Nouce, Oliver Hennigh, osdamv, Patrik Erdes,
420Patryk Chrabaszcz, Pavel Christof, Penghao Cen, postBG, Qingqing Cao, Qingying Chen, qjivy,
421Raphael, Rasmi, raymondxyang, Renze Yu, resec, Roffel, Ruben Vereecken, Ryohei Kuroki,
422sandipmgiri, Santiago Castro, Scott Kirkland, Sean Vig, Sebastian Raschka, Sebastian Weiss,
423Sergey Kolesnikov, Sergii Khomenko, Shahid, Shivam Kotwalia, Stuart Berg, Sumit Gouthaman,
424superzerg, Sven Mayer, tetris, Ti Zhou, Tiago Freitas Pereira, Tian Jin, Tomoaki Oiki,
425Vaibhav Sood, vfdev, Vivek Rane, Vladimir Moskva, wangqr, Weber Xie, Will Frey,
426Yan Facai (颜发才), yanivbl6, Yaroslav Bulatov, Yixing Lao, Yong Tang, youkaichao,
427Yuan (Terry) Tang, Yue Zhang, Yuxin Wu, Ziming Dong, ZxYuan, 黄璞
428
429We are also grateful to all who filed issues or helped resolve them, asked and
430answered questions, and were part of inspiring discussions.
Derek Murrayf6e187a2017-10-04 19:07:31 -0700431
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700432# Release 1.3.0
433
Andrew Harp6e3e7d12017-08-21 12:10:44 -0700434See also [TensorBoard 0.1.4](https://github.com/tensorflow/tensorboard/releases/tag/0.1.4) release notes.
435
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700436## Major Features and Improvements
Benoit Steiner05c491d2017-08-01 16:16:52 -0700437* Added canned estimators to Tensorflow library. List of added estimators:
438 * `DNNClassifier`
439 * `DNNRegressor`
440 * `LinearClassifier`
441 * `LinearRegressor`
442 * `DNNLinearCombinedClassifier`
443 * `DNNLinearCombinedRegressor`.
Andrew Harp6e3e7d12017-08-21 12:10:44 -0700444* 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 -0700445* `import tensorflow` now goes much faster.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700446* 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.
447* Added an axis parameter to `tf.gather`.
448* Added a `constant_values` keyword argument to `tf.pad`.
449* Adds `Dataset.interleave` transformation.
450* Add `ConcatenateDataset` to concatenate two datasets.
451* Added Mobilenet support to TensorFlow for Poets training script.
452* Adds a block cache to the GCS filesystem with configurable block size and count.
453* SinhArcSinh bijector added.
454* Added `Dataset.list_files` API.
455* Introduces new operations and Python bindings for the Cloud TPU.
456* Adding TensorFlow-iOS CocoaPod for symmetry with tensorflow-android.
457* Introduces base implementations of ClusterResolvers.
458* Unify memory representations of TensorShape and PartialTensorShape. As a consequence, tensors now have a maximum of 254 dimensions, not 255.
459* Changed references to LIBXSMM to use version 1.8.1.
Benoit Steiner05c491d2017-08-01 16:16:52 -0700460* TensorFlow Debugger (tfdbg):
461 * Display summaries of numeric tensor values with the `-s` flag to command `print_tensor` or `pt`.
462 * Display feed values with the `print_feed` or `pf` command and clickable links in the curses UI.
463 * Runtime profiler at the op level and the Python source line level with the `run -p` command.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700464* Initial release of the statistical distribution library `tf.distributions`.
Martin Wicked57572e2017-09-02 19:21:45 -0700465* GPU kernels and speed improvements for unary `tf.where` and `tf.nn.top_k`.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700466* Monotonic Attention wrappers added to `tf.contrib.seq2seq`.
Benoit Steiner05c491d2017-08-01 16:16:52 -0700467* Added `tf.contrib.signal`, a library for signal processing primitives.
A. Unique TensorFlower28ce1d12017-08-15 12:08:29 -0700468* Added `tf.contrib.resampler`, containing CPU and GPU ops for differentiable resampling of images.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700469
470## Breaking Changes to the API
471* `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.
472* 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.
473
474## Changes to contrib APIs
475* Adds tf.contrib.nn.rank_sampled_softmax_loss, a sampled-softmax variant that can improve rank loss.
476* `tf.contrib.metrics`.{streaming_covariance,streaming_pearson_correlation} modified to return nan when they have seen less or equal to 1 unit of weight.
477* Adds time series models to contrib. See contrib/timeseries/README.md for details.
478* Adds FULLY_CONNECTED Op to tensorflow/contrib/lite/schema.fbs
479
Andrew Harp6e3e7d12017-08-21 12:10:44 -0700480## Known Issues
481* Tensorflow_gpu compilation fails with Bazel 0.5.3.
482
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700483## Bug Fixes and Other Changes
Benoit Steiner05c491d2017-08-01 16:16:52 -0700484* Fixes `strides` and `begin` dtype mismatch when slicing using int64 Tensor index in python.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700485* Improved convolution padding documentation.
486* Add a tag constant, gpu, to present graph with GPU support.
487* `saved_model.utils` now support SparseTensors transparently.
488* A more efficient implementation of non-max suppression.
489* Add support for the shrinkage-type L2 to FtrlOptimizer in addition to the online L2 it already supports.
490* Fix negative variance in moments calculation.
491* Expand UniqueOp Benchmark Tests to cover more collision cases.
492* Improves stability of GCS filesystem on Mac.
493* Add time estimation to HloCostAnalysis.
494* 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.
495* Added None check for save_path in `saver.restore`.
496* Register devices under their legacy names in device_mgr to ease the transition to clusterspec-propagated configurations.
497* VectorExponential added to distributions.
498* Add a bitwise module with bitwise_and, bitwise_or, bitwise_xor, and invert functions.
499* Add fixed-grid ODE integration routines.
500* Allow passing bounds to ScipyOptimizerInterface.
501* Correctness fixes for fft_length parameter to `tf.spectral.rfft` & `tf.spectral.irfft`.
502* 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.
503* Add in-memory caching to the Dataset API.
504* Set default end_of_sequence variable in datasets iterators to false.
A. Unique TensorFlower28ce1d12017-08-15 12:08:29 -0700505* [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 -0700506* Update iOS examples to use CocoaPods, and moved to tensorflow/examples/ios.
507* Adds a family= attribute in `tf.summary` ops to allow controlling the tab name used in Tensorboard for organizing summaries.
508* When GPU is configured, do not require --config=cuda, instead, automatically build for GPU if this is requested in the configure script.
509* Fix incorrect sampling of small probabilities in CPU/GPU multinomial.
510* 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.
511* Allow uses of over-parameterized separable convolution.
512* TensorForest multi-regression bug fix.
513* Framework now supports armv7, cocoapods.org now displays correct page.
514* Script to create iOS framework for CocoaPods.
515* 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 -0700516* TensorFlow Debugger (tfdbg):
517 * Fixed a bug that prevented tfdbg from functioning with multi-GPU setups.
518 * Fixed a bug that prevented tfdbg from working with `tf.Session.make_callable`.
Vijay Vasudevana1fba7f2017-07-28 10:58:56 -0700519
520## Thanks to our Contributors
521
522This release contains contributions from many people at Google, as well as:
523
5244F2E4A2E, Adriano Carmezim, Adrià Arrufat, Alan Yee, Alex Lattas, Alex Rothberg,
525Alexandr Baranezky, Ali Siddiqui, Andreas Solleder, Andrei Costinescu, Andrew Hundt,
526Androbin, Andy Kernahan, Anish Shah, Anthony Platanios, Arvinds-Ds, b1rd, Baptiste
527Arnaud, Ben Mabey, Benedikt Linse, Beomsu Kim, Bo Wang, Boyuan Deng, Brett Koonce,
528Bruno Rosa, Carl Thomé, Changming Sun, Chase Roberts, Chirag Bhatia, Chris Antaki,
529Chris Hoyean Song, Chris Tava, Christos Nikolaou, Croath Liu, cxx, Czxck001, Daniel
530Ylitalo, Danny Goodman, Darren Garvey, David Brailovsky, David Norman, DavidNorman,
531davidpham87, ddurham2, Dhruv, DimanNe, Drew Hintz, Dustin Tran, Earthson Lu, ethiraj,
532Fabian Winnen, Fei Sun, Freedom" Koan-Sin Tan, Fritz Obermeyer, Gao, Xiang, Gautam,
533Guenther Schmuelling, Gyu-Ho Lee, Hauke Brammer, horance, Humanity123, J Alammar,
534Jayeol Chun, Jeroen BéDorf, Jianfei Wang, jiefangxuanyan, Jing Jun Yin, Joan Puigcerver,
535Joel Hestness, Johannes Mayer, John Lawson, Johnson145, Jon Malmaud, Jonathan Alvarez-Gutierrez,
536Juang, Yi-Lin, Julian Viereck, Kaarthik Sivashanmugam, Karl Lessard, karl@kubx.ca, Kevin
537Carbone, Kevin Van Der Burgt, Kongsea, ksellesk, lanhin, Lef Ioannidis, Liangliang He,
538Louis Tiao, Luke Iwanski, LáSzló Csomor, magixsno, Mahmoud Abuzaina, Marcel Hlopko, Mark
539Neumann, Maxwell Paul Brickner, mdfaijul, MichaëL Defferrard, Michał JastrzęBski, Michele
540Colombo, Mike Brodie, Mosnoi Ion, mouradmourafiq, myPrecious, Nayana Thorat,
541Neeraj Kashyap, Nelson Liu, Niranjan Hasabnis, Olivier Moindrot, orome, Pankaj Gupta, Paul
542Van Eck, peeyush18, Peng Yu, Pierre, preciousdp11, qjivy, Raingo, raoqiyu, ribx, Richard S.
543Imaoka, Rishabh Patel, Robert Walecki, Rockford Wei, Ryan Kung, Sahil Dua, Sandip Giri, Sayed
544Hadi Hashemi, sgt101, Shitian Ni, Shuolongbj, Siim PõDer, Simon Perkins, sj6077, SOLARIS,
545Spotlight0xff, Steffen Eberbach, Stephen Fox, superryanguo, Sven Mayer, Tapan Prakash,
546Tiago Morais Morgado, Till Hoffmann, Tj Rana, Vadim Markovtsev, vhasanov, Wei Wu,
547windead, Yan (Asta) Li, Yan Chen, Yann Henon, Yi Wang, Yong Tang, yorkie, Yuan (Terry)
548Tang, Yuxin Wu, zhengjiajin, zhongzyd, 黄璞
549
550We are also grateful to all who filed issues or helped resolve them, asked and
551answered questions, and were part of inspiring discussions.
552
Shanqing Cai90d64212017-07-10 19:22:04 -0700553# Release 1.2.1
554
555## Bug Fixes and Other Changes
556* Updating markdown version required to >= 2.6.8.
557* Support tensors as dropout rates again, by removing the min(max(..))
558
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700559# Release 1.2.0
Derek Murray4e69ce82017-04-11 10:31:27 -0800560
561## Major Features and Improvements
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700562* Python 3.6 support on Windows.
Dan Ringwalt692fad22017-05-05 09:09:05 -0800563* Added `tf.layers.conv3d_transpose` layer for spatio temporal deconvolution.
Derek Murray4e69ce82017-04-11 10:31:27 -0800564* 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 -0700565* Added libverbs-based RDMA support to contrib (courtesy @junshi15 from Yahoo).
566* 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 -0700567* `RNNCell` objects now subclass `tf.layers.Layer`. The strictness described
Eugene Brevdoe8482ab2017-04-21 16:34:59 -0800568 in the TensorFlow 1.1 release is gone: The first time an RNNCell is used,
569 it caches its scope. All future uses of the RNNCell will reuse variables from
570 that same scope. This is a breaking change from the behavior of RNNCells
571 in TensorFlow versions <= 1.0.1. TensorFlow 1.1 had checks in place to
572 ensure old code works correctly with the new semantics; this version
573 allows more flexible uses of RNNCell but can lead to subtle errors if
574 using code meant for TensorFlow <= 1.0.1. For example, writing:
575 `MultiRNNCell([lstm] * 5)` will now build a 5-layer LSTM stack where each
576 layer shares the **same** parameters. To get 5 layers each with their own
577 parameters, write: `MultiRNNCell([LSTMCell(...) for _ in range(5)])`.
578 If at all unsure, first test your code with TF 1.1; ensure it raises no
579 errors, and then upgrade to TF 1.2.
Eugene Brevdo827d2e42017-05-22 17:32:50 -0700580* RNNCells' variable names have been renamed for consistency with Keras layers.
581 Specifically, the previous variable names "weights" and "biases" have
582 been changed to "kernel" and "bias", respectively.
583 This may cause backward incompatibility with regard to your old
584 checkpoints containing such RNN cells, in which case you can use the tool
585 [checkpoint_convert script](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/rnn/python/tools/checkpoint_convert.py)
586 to convert the variable names in your old checkpoints.
587* Many of the RNN functions and classes that were in the `tf.nn` namespace
588 before the 1.0 release and which were moved to `tf.contrib.rnn` have now
589 been moved back to the core namespace. This includes
590 `RNNCell`, `LSTMCell`, `GRUCell`, and a number of other cells. These
591 now reside in `tf.nn.rnn_cell` (with aliases in `tf.contrib.rnn` for backwards
592 compatibility). The original `tf.nn.rnn` function is now `tf.nn.static_rnn`,
593 and the bidirectional static and state saving static rnn functions are also
594 now back in the `tf.nn` namespace.
595
596 Notable exceptions are the `EmbeddingWrapper`, `InputProjectionWrapper` and
597 `OutputProjectionWrapper`, which will slowly be moved to deprecation
598 in `tf.contrib.rnn`. These are inefficient wrappers that should often
599 be replaced by calling `embedding_lookup` or `layers.dense` as pre- or post-
600 processing of the rnn. For RNN decoding, this functionality has been replaced
601 with an alternative API in `tf.contrib.seq2seq`.
A. Unique TensorFlowerce322282017-01-07 09:19:27 -0800602* Intel MKL Integration (https://software.intel.com/en-us/articles/tensorflow-optimizations-on-modern-intel-architecture). Intel developed a number of
603 optimized deep learning primitives: In addition to matrix multiplication and
604 convolution, these building blocks include:
605 Direct batched convolution
606 Pooling: maximum, minimum, average
607 Normalization: LRN, batch normalization
608 Activation: rectified linear unit (ReLU)
609 Data manipulation: multi-dimensional transposition (conversion), split,
610 concat, sum and scale.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700611* TensorForest Estimator now supports SavedModel export for serving.
612* Support client-provided ClusterSpec's and propagate them to all workers to enable the creation of dynamic TensorFlow clusters.
613* TensorFlow C library now available for Windows.
614* We released a new open-source version of TensorBoard.
615* [`SavedModel CLI`](https://www.tensorflow.org/versions/master/programmers_guide/saved_model_cli) tool available to inspect and execute MetaGraph in SavedModel
616* Android releases of TensorFlow are now pushed to jcenter for easier
617 integration into apps. See
618 https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/android/README.md
619 for more details.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700620
621## Deprecations
622
623* TensorFlow 1.2 may be the last time we build with cuDNN 5.1. Starting with
624 TensorFlow 1.3, we will try to build all our prebuilt binaries with cuDNN 6.0.
625 While we will try to keep our source code compatible with cuDNN 5.1, it will
626 be best effort.
627
628## Breaking Changes to the API
629* `org.tensorflow.contrib.android.TensorFlowInferenceInterface` now throws exceptions where possible and has simplified method signatures.
630
631## Changes to contrib APIs
632* Added `tf.contrib.util.create_example`.
633* Added bilinear interpolation to `tf.contrib.image`.
634* Add `tf.contrib.stateless` for random ops with custom seed control.
635* MultivariateNormalFullCovariance added to contrib/distributions/
636* tensorflow/contrib/rnn undergoes RNN cell variable renaming for
637 consistency with Keras layers. Specifically, the previous variable names
638 "weights" and "biases" are changed to "kernel" and "bias", respectively.
639 This may cause backward incompatibility with regard to your old
640 checkpoints containing such RNN cells, in which case you can use the
641 [checkpoint_convert script](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/rnn/python/tools/checkpoint_convert.py)
642 to convert the variable names in your old checkpoints.
A. Unique TensorFlower50b999a2017-06-27 16:33:00 -0700643* Added `tf.contrib.kernel_methods` module with Ops and estimators for primal
644 (explicit) kernel methods in TensorFlow.
Derek Murray4e69ce82017-04-11 10:31:27 -0800645
Vijay Vasudevan15f32d92017-05-10 12:31:10 -0700646## Bug Fixes and Other Changes
647* In python, `Operation.get_attr` on type attributes returns the Python DType
648 version of the type to match expected get_attr documentation rather than the
649 protobuf enum.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700650* tensorflow/contrib/rnn undergoes RNN cell variable renaming for
651 consistency with Keras layers. Specifically, the previous variable names
652 "weights" and "biases" are changed to "kernel" and "bias", respectively.
653* Changed MIN_SDK version to 8.0 when building iOS libraries.
654* Fixed LIBXSMM integration.
655* Make decode_jpeg/decode_png/decode_gif handle all formats, since users frequently try to decode an image as the wrong type.
656* Improve implicit broadcasting lowering.
Michael Cased90054e2018-02-07 14:36:00 -0800657* Improving stability of GCS/BigQuery clients by a faster retrying of stale transmissions.
Jonathan Hseu1b5235f2017-06-09 10:37:18 -0700658* Remove OpKernelConstruction::op_def() as part of minimizing proto dependencies.
659* VectorLaplaceDiag distribution added.
660* Android demo no longer requires libtensorflow_demo.so to run (libtensorflow_inference.so still required)
661* Added `categorical_column_with_vocabulary_file`.
662* Introduce ops for batching/unbatching tensors across Session::Run() calls.
663* Add tf.log_sigmoid(x) = tf.log(tf.sigmoid(x)) = -tf.nn.softplus(-x).
664* Changed hooks lists to immutable tuples, and now allow any iterable for the associated arguments.
665* Introduce TFDecorator.
666* Added an Mfcc op for speech feature generation.
667* 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.
668* Added unreduced NONE, and reduced MEAN options for losses. Removed "WEIGHTED_" prefix from other Reduction constants.
669* assertAllClose now handles dicts.
670* Added Gmock matcher for HloInstructions.
671* Add var name to errors on variable restore.
672* Added an AudioSpectrogram op for audio feature generation.
673* Added `reduction` arg to losses.
674* `tf.placeholder` can represent scalar shapes and partially known.
675* Remove estimator_spec(mode) argument.
676* Added an AudioSpectrogram op for audio feature generation.
677* TensorBoard disables all runs by default if there are more than 40 runs.
678* Removed old doc generator code.
679* GCS file system integration now supports domain buckets, e.g gs://bucket.domain.com/path.
680* Add `tf.summary.text` for outputting text to TensorBoard.
681* The "run" command of tfdbg's command-line interface now supports filtering of tensors by node name, op type and tensor dtype.
682* `tf.string_to_number` now supports int64 and float64 outputs.
683
684## Thanks to our Contributors
685
686This release contains contributions from many people at Google, as well as:
687
6884F2E4A2E, Aaron Schumacher, Abhi Agg, admcrae, Adriano Carmezim, Adrià Arrufat,
689agramesh1, Akimitsu Seo, Alan Mosca, Alex Egg, Alex Rothberg, Alexander Heinecke,
690Alexander Matyasko, Alexandr Baranezky, Alexandre Caulier, Ali Siddiqui, Anand Venkat,
691Andrew Hundt, Androbin, Anmol Sharma, Arie, Arno Leist, Arron Cao, AuréLien Geron, Bairen Yi,
692Beomsu Kim, Carl Thomé, cfperez, Changming Sun, Corey Wharton, critiqjo, Dalei Li, Daniel
693Rasmussen, Daniel Trebbien, DaríO Hereñú, David Eng, David Norman, David Y. Zhang, Davy Song, ddurham2,
694Deepak Subburam, Dmytro Kyrychuk, Dominic Rossi, Dominik SchlöSser, Dustin Tran,
695Eduardo Pinho, Egil Martinsson, Elliot Saba, Eric Bigelow, Erik Smistad, Evan Klitzke,
696Fabrizio Milo, Falcon Dai, Fei Gao, FloopCZ, Fung Lam, Gautam, GBLin5566, Greg Peatfield,
697Gu Wang, Guenther Schmuelling, Hans Pabst, Harun Gunaydin, Huaizheng, Ido Shamay, Ikaro
698Silva, Ilya Edrenkin, Immexxx, James Mishra, Jamie Cooke, Jay Young, Jayaram Bobba,
699Jianfei Wang, jinghua2, Joey Meyer, John Maidens, Jonghoon Jin, Julian Villella,
700Jun Kim, Jun Shi, Junwei Pan, jyegerlehner, Karan Desai, Karel Van De Plassche,
701Kb Sriram, KhabarlakKonstantin, Koan-Sin Tan, krivard, Kwotsin, Leandro Gracia Gil,
702Li Chen, Liangliang He, Louie Helm, lspvic, Luiz Henrique Soares, LáSzló Csomor,
703Mark Wong, Mathew Wicks, Matthew Rahtz, Maxwell Paul Brickner, Michael Hofmann, Miguel
704Flores Ruiz De Eguino, MikeTam1021, Mortada Mehyar, Mycosynth, Namnamseo,
705Nate Harada, Neven Miculinic, Nghia Tran, Nick Lyu, Niranjan Hasabnis, Nishidha, Oleksii
706Kuchaiev, Oyesh Mann Singh, Panmari, Patrick, Paul Van Eck, Piyush Chaudhary, Quim Llimona,
707Raingo, Richard Davies, Ruben Vereecken, Sahit Chintalapudi, Sam Abrahams, Santiago Castro,
708Scott Sievert, Sean O'Keefe, Sebastian Schlecht, Shane, Shubhankar Deshpande, Spencer Schaber,
709Sunyeop Lee, t13m, td2014, Thomas H. P. Andersen, Toby Petty, Umang Mehta,
710Vadim Markovtsev, Valentin Iovene, Vincent Zhao, Vit Stepanovs, Vivek Rane, Vu Pham, wannabesrevenge,
711weipingpku, wuhaixutab, wydwww, Xiang Gao, Xiaolin Lin, xiaoyaozhuzi, Yaroslav Bulatov, Yi Liu,
712Yoshihiro Sugi, Yuan (Terry) Tang, Yuming Wang, Yuxin Wu, Zader Zheng, Zhaojun Zhang, zhengjiajin,
713ZhipengShen, Ziming Dong, zjj2wry
714
715We are also grateful to all who filed issues or helped resolve them, asked and
716answered questions, and were part of inspiring discussions.
Derek Murray4e69ce82017-04-11 10:31:27 -0800717
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800718# Release 1.1.0
719
720## Major Features and Improvements
721* Added Java API support for Windows.
722* Added `tf.spectral` module. Moved existing FFT ops to `tf.spectral` while
723 keeping an alias in the old location (`tf.*`).
724* Added 1D, 2D and 3D Fourier transform ops for real signals to `tf.spectral`.
725* Added a `tf.bincount` function.
726* Added Keras 2 API to contrib.
727* Added a new lightweight queue-like object - `RecordInput`.
728* Added `tf.contrib.image.compose_transforms` function.
729* Bring `tf.estimator.*` into the API. Non-deprecated functionality from `tf.contrib.learn.Estimator` is moved to `tf.estimator.Estimator` with cosmetic changes.
730* Docker images: TF images on gcr.io and Docker Hub are upgraded to ubuntu:16.04.
731* Added the following features to TensorFlow Debugger (tfdbg):
732 * Ability to inspect Python source file against TF ops and tensors (command `print_source` / `ps`)
733 * New navigation bar in Curses-based UI
734 * 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 -0800735* Initial release of installation guides for Java, C, and Go.
Shanqing Cai32694232017-04-22 06:08:17 -0800736* Added Text Dashboard to TensorBoard.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800737
738## Deprecations
739
740* 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.
741
742## Changes to contrib APIs
743* The behavior of RNNCells is now stricter due to the transition towards making RNNCells act more like Keras layers.
744 * If an RNNCell is used twice in two different variable scopes, an error is raised describing how to avoid this behavior.
745 * 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`.
746* Deprecated contrib/distributions `pmf`, `pdf`, `log_pmf`, `log_pdf`.
747* Moved `bayesflow.special_math` to distributions.
748* `tf.contrib.tensor_forest.python.tensor_forest.RandomForestDeviceAssigner` removed.
749* Changed some MVN classes and parameters:
750 * `tf.contrib.distributions.MultivariateNormalFull` replaced by `tf.contrib.distributions.MultivariateNormalTriL`.
751 * `tf.contrib.distributions.MultivariateNormalCholesky` replaced by `tf.contrib.distributions.MultivariateNormalTriL`
752 * `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusStDev` replaced
753 by `tf.contrib.distributions.MultivariateNormalDiagWithSoftplusScale`
754 * `tf.contrib.distributions.MultivariateNormalDiag` arguments changed from `mu`, `diag_stddev` to `log`, `scale_diag`.
755 * `tf.contrib.distributions.MultivariateNormalDiagPlusVDVT` removed.
756 * `tf.contrib.distributions.MultivariateNormalDiagPlusLowRank` added.
757
758## Bug Fixes and Other Changes
759* Java: Support for loading models exported using the SavedModel API (courtesy @EronWright).
760* Go: Added support for incremental graph execution.
761* Fix a bug in the WALS solver when single-threaded.
762* Added support for integer sparse feature values in `tf.contrib.layers.sparse_column_with_keys`.
763* Fixed `tf.set_random_seed(0)` to be deterministic for all ops.
764* Stability improvements for the GCS file system support.
765* Improved TensorForest performance.
766* Added support for multiple filename globs in `tf.matching_files`.
767* `LogMessage` now includes a timestamp as beginning of a message.
768* Added MultiBox person detector example standalone binary.
769* Android demo: Makefile build functionality added to build.gradle to fully support building TensorFlow demo in Android on Windows.
770* Android demo: read MultiBox priors from txt file rather than protobuf.
771* Added colocation constraints to `StagingArea`.
772* `sparse_matmul_op` reenabled for Android builds.
773* Restrict weights rank to be the same as the broadcast target, to avoid ambiguity on broadcast rules.
774* Upgraded libxsmm to 1.7.1 and applied other changes for performance and memory usage.
775* Fixed bfloat16 integration of LIBXSMM sparse mat-mul.
776* Improved performance and reduce memory usage by allowing ops to forward input buffers to output buffers and perform computations in-place.
777* Improved the performance of CPU assignment for strings.
778* Speed up matrix * vector multiplication and matrix * matrix with unknown shapes.
779* C API: Graph imports now support input remapping, control dependencies, and returning imported nodes (see `TF_GraphImportGraphDefWithReturnOutputs()`)
780* Multiple C++ API updates.
781* Multiple TensorBoard updates including:
782 * Users can now view image summaries at various sampled steps (instead of just the last step).
783 * Bugs involving switching runs as well as the image dashboard are fixed.
784 * Removed data download links from TensorBoard.
785 * TensorBoard uses a relative data directory, for easier embedding.
786 * TensorBoard automatically ignores outliers for domain calculation, and formats proportional values consistently.
787* Multiple tfdbg bug fixes:
788 * Fixed Windows compatibility issues.
789 * Command history now persists across runs.
Rohan Jaind0697152017-04-07 08:29:08 -0800790 * Bug fix in graph validation related to `tf.while_loops`.
791* Java Maven fixes for bugs with Windows installation.
Shanqing Cai32694232017-04-22 06:08:17 -0800792* Backport fixes and improvements from external keras.
793* Keras config file handling fix.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800794
795## Thanks to our Contributors
796
797This release contains contributions from many people at Google, as well as:
798
799A. Besir Kurtulmus, Adal Chiriliuc, @akash, Alec-Desouza, Alex Rothberg, Alex
A. Unique TensorFlower191825e2017-11-27 06:29:45 -0800800Sergeev, Alexander Heinecke, Allen Guo, Andreas Madsen, Ankesh Anand, Anton
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800801Loss, @Aravind, @Arie, Ashutosh Das, AuréLien Geron, Bairen Yi, @bakunyo, Ben
Rohan Jaind0697152017-04-07 08:29:08 -0800802Visser, Brady Zhou, Calpa Liu, Changming Sun, Chih Cheng Liang, Christopher
803Berner, Clark Zinzow, @Conchylicultor, Dan Ellis, Dan J, Dan Jarvis, Daniel
804Ylitalo, Darren Garvey, David Norman, David Truong, @DavidNorman, Dimitar
805Pavlov, Dmitry Persiyanov, @Eddie, @elirex, Erfan Noury, Eron Wright, Evgeny
806Mazovetskiy, Fabrizio (Misto) Milo, @fanlu, Fisher Coder, Florian Courtial,
807Franck Dernoncourt, Gagan Goel, Gao, Xiang, @Gautam, Gefu Tang, @guilherme,
808@guschmue, Hannah Provenza, Hans Pabst, @hartb, Hsiao Yi, Huazuo Gao, Igor
809ChorążEwicz, Ivan Smirnov, Jakub Kolodziejczyk, Jason Gavris, Jason Morton, Jay
810Young, Jayaram Bobba, Jeremy Sawruk, Jiaming Liu, Jihun Choi, @jiqiu, Joan Thibault,
811John C F, Jojy George Varghese, Jon Malmaud, Julian Berman, Julian Niedermeier,
812Junpeng Lao, Kai Sasaki, @Kankroc, Karl Lessard, Kyle Bostelmann, @Lezcano, Li
813Yi, Luo Yun, @lurker, Mahmoud-Abuzaina, Mandeep Singh, Marek Kolodziej, Mark
814Szepieniec, Martial Hue, Medhat Omr, Memo Akten, Michael Gharbi, MichaëL Defferrard,
815Milan Straka, @MircoT, @mlucool, Muammar Ibn Faisal, Nayana Thorat, @nghiattran,
816Nicholas Connor, Nikolaas Steenbergen, Niraj Patel, Niranjan Hasabnis, @Panmari,
817Pavel Bulanov, Philip Pries Henningsen, Philipp Jund, @polonez, Prayag Verma, Rahul
818Kavi, Raphael Gontijo Lopes, @rasbt, Raven Iqqe, Reid Pryzant, Richard Shin, Rizwan
819Asif, Russell Kaplan, Ryo Asakura, RüDiger Busche, Saisai Shao, Sam Abrahams, @sanosay,
820Sean Papay, @seaotterman, @selay01, Shaurya Sharma, Sriram Narayanamoorthy, Stefano
821Probst, @taknevski, @tbonza, @teldridge11, Tim Anglade, Tomas Reimers, Tomer Gafner,
822Valentin Iovene, Vamsi Sripathi, Viktor Malyi, Vit Stepanovs, Vivek Rane, Vlad Firoiu,
823@wangg12, @will, Xiaoyu Tao, Yaroslav Bulatov, Yi Liu, Yuan (Terry) Tang, @Yufeng,
824Yuming Wang, Yuxin Wu, Zafar Takhirov, Ziming Dong
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -0800825
826We are also grateful to all who filed issues or helped resolve them, asked and
827answered questions, and were part of inspiring discussions.
828
829
Martin Wickebc456e32017-03-23 12:31:16 -0800830# Release 1.0.1
831
832## Bug Fixes and Other Changes
833* Change GraphConstructor to not increase the version when importing, but instead take the min of all versions.
834* Google Cloud Storage fixes.
835* 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.
836
Benoit Steiner639b4e72017-02-08 09:25:09 -0800837# Release 1.0.0
838
839## Major Features and Improvements
840* 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.
841* TensorFlow Debugger (tfdbg): command-line interface and API.
842* New python 3 docker images added.
843* Made pip packages pypi compliant. TensorFlow can now be installed by `pip
844 install tensorflow` command.
845* Several python API calls have been changed to resemble NumPy more closely.
846* Android: person detection + tracking demo implementing Scalable Object
847 Detection using Deep Neural Networks.
848* New (experimental) [Java API](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java).
849* 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 -0800850
851## Breaking Changes to the API
Benoit Steiner639b4e72017-02-08 09:25:09 -0800852To 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).
853* TensorFlow/models have been moved to a separate github repository.
Andrew Sellefcc39232016-11-22 10:04:37 -0800854* Division and modulus operators (/, //, %) now match Python (flooring)
Andrew Sellef0a6d1e2016-12-13 16:01:12 -0800855 semantics. This applies to `tf.div` and `tf.mod` as well. To obtain forced
856 integer truncation based behaviors you can use `tf.truncatediv`
857 and `tf.truncatemod`.
858* `tf.divide()` is now the recommended division function. `tf.div()` will
859 remain, but its semantics do not respond to Python 3 or `from future`
860 mechanisms.
861* tf.reverse() now takes indices of axes to be reversed. E.g.
862 `tf.reverse(a, [True, False, True])` must now be written as
863 `tf.reverse(a, [0, 2])`. `tf.reverse_v2()` will remain until 1.0 final.
864* `tf.mul`, `tf.sub` and `tf.neg` are deprecated in favor of `tf.multiply`,
865 `tf.subtract` and `tf.negative`.
A. Unique TensorFlower44977ae2016-12-15 18:36:06 -0800866* `tf.pack` and `tf.unpack` are deprecated in favor of `tf.stack` and
867 `tf.unstack`.
868* `TensorArray.pack` and `TensorArray.unpack` are getting deprecated in favor of
869 `TensorArray.stack` and `TensorArray.unstack`.
Andrew Sellef0a6d1e2016-12-13 16:01:12 -0800870* The following Python functions have had their arguments changed to use `axis`
871 when referring to specific dimensions. We have kept the old keyword arguments
872 for compatibility currently, but we will be removing them well before the
873 final 1.0.
874 * `tf.argmax`: `dimension` becomes `axis`
875 * `tf.argmin`: `dimension` becomes `axis`
876 * `tf.count_nonzero`: `reduction_indices` becomes `axis`
877 * `tf.expand_dims`: `dim` becomes `axis`
878 * `tf.reduce_all`: `reduction_indices` becomes `axis`
879 * `tf.reduce_any`: `reduction_indices` becomes `axis`
880 * `tf.reduce_join`: `reduction_indices` becomes `axis`
881 * `tf.reduce_logsumexp`: `reduction_indices` becomes `axis`
882 * `tf.reduce_max`: `reduction_indices` becomes `axis`
883 * `tf.reduce_mean`: `reduction_indices` becomes `axis`
884 * `tf.reduce_min`: `reduction_indices` becomes `axis`
885 * `tf.reduce_prod`: `reduction_indices` becomes `axis`
886 * `tf.reduce_sum`: `reduction_indices` becomes `axis`
887 * `tf.reverse_sequence`: `batch_dim` becomes `batch_axis`, `seq_dim` becomes `seq_axis`
888 * `tf.sparse_concat`: `concat_dim` becomes `axis`
889 * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis`
890 * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis`
891 * `tf.sparse_split`: `split_dim` becomes `axis`
892* `tf.listdiff` has been renamed to `tf.setdiff1d` to match NumPy naming.
893* `tf.inv` has been renamed to be `tf.reciprocal` (component-wise reciprocal)
894 to avoid confusion with `np.inv` which is matrix inversion
895* tf.round now uses banker's rounding (round to even) semantics to match NumPy.
896* `tf.split` now takes arguments in a reversed order and with different
897 keywords. In particular, we now match NumPy order as
898 `tf.split(value, num_or_size_splits, axis)`.
899* `tf.sparse_split` now takes arguments in reversed order and with different
900 keywords. In particular we now match NumPy order as
901 `tf.sparse_split(sp_input, num_split, axis)`. NOTE: we have temporarily
902 made `tf.sparse_split` require keyword arguments.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800903* `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)`.
904* `tf.image.decode_jpeg` by default uses the faster DCT method, sacrificing
Vijay Vasudevanfebdc1d2016-12-19 21:04:00 -0800905 a little fidelity for improved speed. One can revert to the old
Benoit Steiner639b4e72017-02-08 09:25:09 -0800906 behavior by specifying the attribute `dct_method='INTEGER_ACCURATE'`.
A. Unique TensorFloweredb095c2016-12-20 14:37:03 -0800907* `tf.complex_abs` has been removed from the Python interface. `tf.abs`
908 supports complex tensors and should be used instead.
A. Unique TensorFlowerfac4a352017-01-20 13:14:02 -0800909* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
910 from the tensorflow::ops namespace to tensorflow.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800911* Template.`var_scope` property renamed to `.variable_scope`
912* SyncReplicasOptimizer is removed and SyncReplicasOptimizerV2 renamed to SyncReplicasOptimizer.
913* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
914 that must be called with initializer arguments, in your code replace
915 `tf.zeros_initializer` with `tf.zeros_initializer()`.
916* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
917 `SparseTensorValue.shape`.
918* 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.
919* Replace tf.train.SummaryWriter and tf.train.SummaryWriterCache with tf.summary.FileWriter and tf.summary.FileWriterCache.
920* Removes RegisterShape from public API. Use C++ shape function registration
921 instead.
922* Deprecated `_ref` dtypes from the python API.
923* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
924 from the tensorflow::ops namespace to tensorflow.
925* 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 -0800926* 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 -0800927* `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.
928* 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 -0800929
930## Bug Fixes and Other Changes
Andrew Harp3e975ea2017-03-01 17:59:22 -0800931* Numerous C++ API updates.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800932* New op: `parallel_stack`.
933* Introducing common tf io compression options constants for
934 RecordReader/RecordWriter.
935* Add `sparse_column_with_vocabulary_file`, to specify a feature column that
936 transform string features to IDs, where the mapping is defined by a vocabulary
937 file.
938* Added `index_to_string_table` which returns a lookup table that maps indices to
939 strings.
940* Add `string_to_index_table`, which returns a lookup table that matches strings
941 to indices.
942* Add a `ParallelForWithWorkerId` function.
943* Add `string_to_index_table`, which returns a lookup table that matches strings
944 to indices.
945* Support restore session from checkpoint files in v2 in `contrib/session_bundle`.
946* Added a tf.contrib.image.rotate function for arbitrary angles.
947* Added `tf.contrib.framework.filter_variables` as a convenience function to
948 filter lists of variables based on regular expressions.
949* `make_template()` takes an optional `custom_getter_ param`.
950* Added comment about how existing directories are handled by
951 `recursive_create_dir`.
952* Added an op for QR factorizations.
953* Divides and mods in Python API now use flooring (Python) semantics.
954* Android: pre-built libs are now built nightly.
955* Android: cmake/gradle build for TensorFlow Inference library under
956 `contrib/android/cmake`
957* Android: Much more robust Session initialization code.
958* Android: TF stats now exposed directly in demo and log when debug mode is
959 active
960* Android: new/better README.md documentation
961* saved_model is available as `tf.saved_model`.
962* Empty op is now stateful.
963* Improve speed of scatter_update on the cpu for ASSIGN operations.
964* Change `reduce_join` to treat `reduction_indices` in the same way as other `reduce_` ops.
965* Move `TensorForestEstimator` to `contrib/tensor_forest`.
966* Enable compiler optimizations by default and allow configuration in configure.
967* `tf.divide` now honors the name field.
968* Make metrics weight broadcasting more strict.
969* Add new queue-like `StagingArea` and new ops: `stage` and `unstage`.
Andrew Harp3e975ea2017-03-01 17:59:22 -0800970* Enable inplace update ops for strings on CPU. Speed up string concat.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800971
972## Thanks to our Contributors
973
974This release contains contributions from many people at Google, as well as:
975
976Aaron Hu, Abhishek Aggarwal, Adam Michael, Adriano Carmezim, @AfirSraftGarrier,
977Alexander Novikov, Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Hundt,
978Anish Shah, Anton Loss, @b0noI, @BoyuanJiang, Carl Thomé, Chad Kennedy, Comic
979Chang, Connor Braa, Daniel N. Lang, Daniel Trebbien,
980@danielgordon10, Darcy Liu, Darren Garvey, Dmitri Lapin, Eron Wright, Evan
981Cofer, Fabrizio Milo, Finbarr Timbers, Franck Dernoncourt, Garrett Smith,
982@guschmue, Hao Wei, Henrik Holst, Huazuo Gao, @Ian, @Issac, Jacob Israel,
983Jangsoo Park, Jin Kim, Jingtian Peng, John Pope, Kye Bostelmann, Liangliang He,
984Ling Zhang, Luheng He, Luke Iwanski, @lvli, Michael Basilyan, Mihir Patel,
985Mikalai Drabovich, Morten Just, @newge, Nick Butlin, Nishant Shukla,
986Pengfei Ni, Przemyslaw Tredak, @rasbt, @Ronny, Rudolf Rosa, @RustingSword,
987Sam Abrahams, Sam Putnam, @SeongAhJo, Shi Jiaxin, @skavulya, Steffen MüLler,
988@TheUSER123, @tiriplicamihai, @vhasanov, Victor Costan, Vit Stepanovs,
989Wangda Tan, Wenjian Huang, Xingdong Zuo, Yaroslav Bulatov, Yota Toyama,
990Yuan (Terry) Tang, Yuxin Wu
991
992We are also grateful to all who filed issues or helped resolve them, asked and
993answered questions, and were part of inspiring discussions.
994
Andrew Harp1cb96892016-12-08 20:05:49 -0800995
996# Release 0.12.0
997
998## Major Features and Improvements
999
1000* TensorFlow now builds and runs on Microsoft Windows (tested on Windows 10,
1001 Windows 7, and Windows Server 2016). Supported languages include Python (via a
1002 pip package) and C++. CUDA 8.0 and cuDNN 5.1 are supported for GPU
1003 acceleration. Known limitations include: It is not currently possible to load
1004 a custom op library. The GCS and HDFS file systems are not currently
1005 supported. The following ops are not currently implemented:
Martin Wicke2e4869a2016-12-14 15:46:53 -08001006 Dequantize, QuantizeAndDequantize, QuantizedAvgPool,
Andrew Harp1cb96892016-12-08 20:05:49 -08001007 QuantizedBatchNomWithGlobalNormalization, QuantizedBiasAdd, QuantizedConcat,
1008 QuantizedConv2D, QuantizedMatmul, QuantizedMaxPool,
1009 QuantizeDownAndShrinkRange, QuantizedRelu, QuantizedRelu6, QuantizedReshape,
1010 QuantizeV2, RequantizationRange, and Requantize.
1011* Go: Experimental API in Go to create and execute graphs
1012 (https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go)
1013* New checkpoint format becomes the default in `tf.train.Saver`. Old V1
1014 checkpoints continue to be readable; controlled by the `write_version`
1015 argument, `tf.train.Saver` now by default writes out in the new V2
1016 format. It significantly reduces the peak memory required and latency
1017 incurred during restore.
1018* Added a new library for library of matrix-free (iterative) solvers for linear
1019 equations, linear least-squares, eigenvalues and singular values in
1020 tensorflow/contrib/solvers. Initial version has lanczos bidiagonalization,
1021 conjugate gradients and CGLS.
1022* Added gradients for `matrix_solve_ls` and `self_adjoint_eig`.
1023* Large cleanup to add second order gradient for ops with C++ gradients and
1024 improve existing gradients such that most ops can now be differentiated
1025 multiple times.
1026* Added a solver for ordinary differential equations,
1027 `tf.contrib.integrate.odeint`.
1028* New contrib module for tensors with named axes, `tf.contrib.labeled_tensor`.
1029* Visualization of embeddings in TensorBoard.
1030
1031## Breaking Changes to the API
1032
A. Unique TensorFlower79228c72016-10-19 16:25:46 -08001033* `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI bus
Benoit Steiner639b4e72017-02-08 09:25:09 -08001034 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
1035 previously `BUS_ANY` was used.
Jonathan Hseu879e0ac2016-11-04 11:53:50 -08001036* `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status
Vijay Vasudevan93a975e2017-02-17 17:05:49 -08001037 instead of a bool. Any callers to this function can be converted to a bool
Jonathan Hseu879e0ac2016-11-04 11:53:50 -08001038 by adding .ok() to the call.
Asim Shankare580e722016-11-09 08:21:50 -08001039* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
1040 indicating its preferred use in language bindings for TensorFlow.
1041 What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
Benoit Steiner639b4e72017-02-08 09:25:09 -08001042* Renamed `TF_Port` to `TF_Output` in the C API.
Andrew Harp1cb96892016-12-08 20:05:49 -08001043* Removes RegisterShape from public API. Use C++ shape function registration instead.
1044 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
1045 previously `BUS_ANY` was used.
Eugene Brevdo7a7c1eb2016-11-29 09:38:37 -08001046* Most RNN cells and RNN functions now use different variable scopes to be
1047 consistent with layers (`tf.contrib.layers`). This means old checkpoints
1048 written using this code will not load after this change without providing
1049 `Saver` a list of variable renames. Examples of variable scope changes
1050 include `RNN` -> `rnn` in `tf.nn.rnn`, `tf.nn.dynamic_rnn` and moving from
1051 `Linear/Matrix` -> `weights` and `Linear/Bias` -> `biases` in most RNN cells.
A. Unique TensorFlowerfe558b02016-11-30 11:51:57 -08001052* Deprecated tf.select op. tf.where should be used instead.
Martin Wickea7cd5f62016-12-14 15:22:55 -08001053* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
1054 `SparseTensorValue.shape`.
Andrew Harp1cb96892016-12-08 20:05:49 -08001055* `Env::FileExists` and `FileSystem::FileExists` now return a
Vijay Vasudevan93a975e2017-02-17 17:05:49 -08001056 `tensorflow::Status` instead of a bool. Any callers to this function can be
Andrew Harp1cb96892016-12-08 20:05:49 -08001057 converted to a bool by adding `.ok()` to the call.
1058* C API: Type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating
1059 its preferred use in language bindings for TensorFlow. What was previously
1060 `TF_Session` has been renamed to `TF_DeprecatedSession`.
1061* C API: Renamed `TF_Port` to `TF_Output`.
1062* C API: The caller retains ownership of `TF_Tensor` objects provided to
1063 `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
1064* Renamed `tf.image.per_image_whitening()` to
1065 `tf.image.per_image_standardization()`
1066* Move Summary protobuf constructors to `tf.summary` submodule.
1067* Deprecate `histogram_summary`, `audio_summary`, `scalar_summary`,
1068 `image_summary`, `merge_summary`, and `merge_all_summaries`.
1069* Combined `batch_*` and regular version of linear algebra and FFT ops. The
1070 regular op now handles batches as well. All `batch_*` Python interfaces were
1071 removed.
1072* `tf.all_variables`, `tf.VARIABLES` and `tf.initialize_all_variables` renamed
1073 to `tf.global_variables`, `tf.GLOBAL_VARIABLES` and
1074 `tf.global_variables_initializer` respectively.
A. Unique TensorFlower46d2c282017-01-02 22:19:48 -08001075* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
1076 that must be called with initializer arguments, in your code replace
Benoit Steiner639b4e72017-02-08 09:25:09 -08001077 `tf.zeros_initializer` with `tf.zeros_initializer()`
Andrew Harp1cb96892016-12-08 20:05:49 -08001078
1079## Bug Fixes and Other Changes
1080
1081* Use threadsafe version of `lgamma` function.
1082* Fix `tf.sqrt` handling of negative arguments.
1083* Fixed bug causing incorrect number of threads to be used for multi-threaded
1084 benchmarks.
1085* Performance optimizations for `batch_matmul` on multi-core CPUs.
1086* Improve trace, `matrix_set_diag`, `matrix_diag_part` and their gradients to
1087 work for rectangular matrices.
1088* Support for SVD of complex valued matrices.
1089
1090
1091## Thanks to our Contributors
1092
1093This release contains contributions from many people at Google, as well as:
1094
1095@a7744hsc, Abhi Agg, @admcrae, Adriano Carmezim, Aki Sukegawa, Alex Kendall,
1096Alexander Rosenberg Johansen, @amcrae, Amlan Kar, Andre Simpelo, Andreas Eberle,
1097Andrew Hundt, Arnaud Lenglet, @b0noI, Balachander Ramachandran, Ben Barsdell,
1098Ben Guidarelli, Benjamin Mularczyk, Burness Duan, @c0g, Changming Sun,
1099@chanis, Corey Wharton, Dan J, Daniel Trebbien, Darren Garvey, David Brailovsky,
1100David Jones, Di Zeng, @DjangoPeng, Dr. Kashif Rasul, @drag0, Fabrizio (Misto)
1101Milo, FabríCio Ceschin, @fp, @Ghedeon, @guschmue, Gökçen Eraslan, Haosdent
1102Huang, Haroen Viaene, Harold Cooper, Henrik Holst, @hoangmit, Ivan Ukhov, Javier
1103Dehesa, Jingtian Peng, Jithin Odattu, Joan Pastor, Johan Mathe, Johannes Mayer,
1104Jongwook Choi, Justus Schwabedal, Kai Wolf, Kamil Hryniewicz, Kamran Amini,
1105Karen Brems, Karl Lattimer, @kborer, Ken Shirriff, Kevin Rose, Larissa Laich,
1106Laurent Mazare, Leonard Lee, Liang-Chi Hsieh, Liangliang He, Luke Iwanski,
1107Marek Kolodziej, Moustafa Alzantot, @MrQianjinsi, @nagachika, Neil Han, Nick
1108Meehan, Niels Ole Salscheider, Nikhil Mishra, @nschuc, Ondrej Skopek, OndřEj
1109Filip, @OscarDPan, Pablo Moyano, Przemyslaw Tredak, @qitaishui, @Quarazy,
1110@raix852, Philipp Helo, Sam Abrahams, @SriramRamesh, Till Hoffmann, Tushar Soni,
1111@tvn, @tyfkda, Uwe Schmidt, Victor Villas, Vit Stepanovs, Vladislav Gubarev,
1112@wujingyue, Xuesong Yang, Yi Liu, Yilei Yang, @youyou3, Yuan (Terry) Tang,
1113Yuming Wang, Zafar Takhirov, @zhongyuk, Ziming Dong, @guotong1988
1114
1115We are also grateful to all who filed issues or helped resolve them, asked and
1116answered questions, and were part of inspiring discussions.
A. Unique TensorFlower79228c72016-10-19 16:25:46 -08001117
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001118# Release 0.11.0
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -08001119
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001120## Major Features and Improvements
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -08001121
Vijay Vasudevan818993c2016-11-03 17:07:01 -08001122* CUDA 8 support.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001123* cuDNN 5 support.
1124* HDFS Support.
1125* Adds Fused LSTM support via cuDNN 5 in `tensorflow/contrib/cudnn_rnn`.
1126* Improved support for NumPy style basic slicing including non-1 strides,
1127 ellipses, newaxis, and negative indices. For example complicated expressions
1128 like `foo[1, 2:4, tf.newaxis, ..., :-3:-1, :]` are now supported. In addition
1129 we have preliminary (non-broadcasting) support for sliced assignment to
1130 variables. In particular one can write `var[1:3].assign([1,11,111])`.
1131* 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.
1132* Introducing `core/util/tensor_bundle` module: a module to efficiently
1133 serialize/deserialize tensors to disk. Will be used in TF's new checkpoint
1134 format.
1135* Added tf.svd for computing the singular value decomposition (SVD) of dense
1136 matrices or batches of matrices (CPU only).
1137* Added gradients for eigenvalues and eigenvectors computed using
1138 `self_adjoint_eig` or `self_adjoint_eigvals`.
1139* Eliminated `batch_*` methods for most linear algebra and FFT ops and promoted
1140 the non-batch version of the ops to handle batches of matrices.
1141* Tracing/timeline support for distributed runtime (no GPU profiler yet).
1142* C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and
1143 `TF_GraphGetTensorShape`.
1144* Shape functions for core ops have moved to C++ via
1145 `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape calls
1146 use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A future
1147 release will remove `RegisterShape` from python.
1148
1149
1150## Bug Fixes and Other Changes
1151
1152* Documentation now includes operator overloads on Tensor and Variable.
1153* `tensorflow.__git_version__` now allows users to identify the version of the
1154 code that TensorFlow was compiled with. We also have
1155 `tensorflow.__git_compiler__` which identifies the compiler used to compile
1156 TensorFlow's core.
1157* Improved multi-threaded performance of `batch_matmul`.
Eugene Brevdo21e1cc72016-08-11 21:45:39 -08001158* LSTMCell, BasicLSTMCell, and MultiRNNCell constructors now default to
1159 `state_is_tuple=True`. For a quick fix while transitioning to the new
1160 default, simply pass the argument `state_is_tuple=False`.
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -08001161* DeviceFactory's AddDevices and CreateDevices functions now return
1162 a Status instead of void.
A. Unique TensorFlower84cefad2016-08-12 07:06:13 -08001163* Int32 elements of list(type) arguments are no longer placed in host memory by
1164 default. If necessary, a list(type) argument to a kernel can be placed in host
1165 memory using a HostMemory annotation.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001166* `uniform_unit_scaling_initializer()` no longer takes a `full_shape` arg,
1167 instead relying on the partition info passed to the initializer function when
1168 it's called.
1169* The NodeDef protocol message is now defined in its own file `node_def.proto`
1170 `instead of graph.proto`.
1171* `ops.NoGradient` was renamed `ops.NotDifferentiable`. `ops.NoGradient` will
Vijay Vasudevan612bae72016-09-09 11:03:09 -08001172 be removed soon.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001173* `dot.h` / DotGraph was removed (it was an early analysis tool prior
Vijay Vasudevan269bfee2016-09-21 21:41:19 -08001174 to TensorBoard, no longer that useful). It remains in history
1175 should someone find the code useful.
Vijay Vasudevan914625a2016-09-23 13:51:34 -08001176* re2 / regexp.h was removed from being a public interface of TF.
1177 Should users need regular expressions, they should depend on the RE2
1178 library directly rather than via TensorFlow.
Dan Manée5bcf542016-05-16 13:39:34 -08001179
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001180## Thanks to our Contributors
1181
1182This release contains contributions from many people at Google, as well as:
1183
1184Abid K, @afshinrahimi, @AidanGG, Ajay Rao, Aki Sukegawa, Alex Rothberg,
1185Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Thomas, @Appleholic,
1186Bastiaan Quast, Ben Dilday, Bofu Chen, Brandon Amos, Bryon Gloden, Cissp®,
1187@chanis, Chenyang Liu, Corey Wharton, Daeyun Shin, Daniel Julius Lasiman, Daniel
1188Waterworth, Danijar Hafner, Darren Garvey, Denis Gorbachev, @DjangoPeng,
1189Egor-Krivov, Elia Palme, Eric Platon, Fabrizio Milo, Gaetan Semet,
1190Georg Nebehay, Gu Wang, Gustav Larsson, @haosdent, Harold Cooper, Hw-Zz,
1191@ichuang, Igor Babuschkin, Igor Macedo Quintanilha, Ilya Edrenkin, @ironhead,
1192Jakub Kolodziejczyk, Jennifer Guo, Jihun Choi, Jonas Rauber, Josh Bleecher
1193Snyder, @jpangburn, Jules Gagnon-Marchand, Karen Brems, @kborer, Kirill Bobyrev,
1194Laurent Mazare, Longqi Yang, Malith Yapa, Maniteja Nandana, Martin Englund,
1195Matthias Winkelmann, @mecab, Mu-Ik Jeon, Nand Dalal, Niels Ole Salscheider,
1196Nikhil Mishra, Park Jiin, Pieter De Rijk, @raix852, Ritwik Gupta, Sahil Sharma,
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -08001197Sangheum Hwang, @SergejsRk, Shinichiro Hamaji, Simon Denel, @Steve, @suiyuan2009,
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001198Tiago Jorge, Tijmen Tieleman, @tvn, @tyfkda, Wang Yang, Wei-Ting Kuo, Wenjian
1199Huang, Yan Chen, @YenChenLin, Yuan (Terry) Tang, Yuncheng Li, Yunfeng Wang, Zack
1200Polizzi, @zhongzyd, Ziming Dong, @perhapszzy
1201
1202We are also grateful to all who filed issues or helped resolve them, asked and
1203answered questions, and were part of inspiring discussions.
1204
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -08001205# Release 0.10.0
A. Unique TensorFlower533d8912016-06-30 12:10:50 -08001206
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -08001207## Major Features and Improvements
1208
1209* Added support for C++ shape inference
1210* Added graph-construction C API
1211* Major revision to the graph-construction C++ API
1212* Support makefile build for iOS
1213* Added Mac GPU support
1214* Full version of TF-Slim available as `tf.contrib.slim`
1215* Added k-Means clustering and WALS matrix factorization
1216
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001217## Bug Fixes and Other Changes
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -08001218
1219* Allow gradient computation for scalar values.
1220* Performance improvements for gRPC
1221* Improved support for fp16
1222* New high-level ops in tf.contrib.{layers,metrics}
1223* New features for TensorBoard, such as shape display, exponential smoothing
1224* Faster and more stable Google Cloud Storage (GCS) filesystem support
1225* Support for zlib compression and decompression for TFRecordReader and TFRecordWriter
1226* Support for reading (animated) GIFs
1227* Improved support for SparseTensor
1228* Added support for more probability distributions (Dirichlet, Beta, Bernoulli, etc.)
1229* Added Python interfaces to reset resource containers.
1230* Many bugfixes and performance improvements
1231* Many documentation fixes
1232
1233## Thanks to our Contributors
1234
1235This release contains contributions from many people at Google, as well as:
1236
1237Alex 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
1238
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001239We are also grateful to all who filed issues or helped resolve them, asked and
1240answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -08001241
1242# Release 0.9.0
1243
1244## Major Features and Improvements
1245
1246* Python 3.5 support and binaries
1247* Added iOS support
1248* Added support for processing on GPUs on MacOS
1249* Added makefile for better cross-platform build support (C API only)
1250* fp16 support and improved complex128 support for many ops
1251* Higher level functionality in contrib.{layers,losses,metrics,learn}
1252* More features to Tensorboard
1253* Improved support for string embedding and sparse features
1254* The RNN api is finally "official" (see, e.g., `tf.nn.dynamic_rnn`,
1255 `tf.nn.rnn`, and the classes in `tf.nn.rnn_cell`).
1256* TensorBoard now has an Audio Dashboard, with associated audio summaries.
1257
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001258## Bug Fixes and Other Changes
Vijay Vasudevan490afa92016-06-21 09:18:06 -08001259
1260* Turned on CuDNN Autotune.
1261* Added support for using third-party Python optimization algorithms (contrib.opt).
1262* Google Cloud Storage filesystem support.
1263* HDF5 support
1264* Add support for 3d convolutions and pooling.
1265* Update gRPC release to 0.14.
1266* Eigen version upgrade.
1267* Switch to eigen thread pool
1268* `tf.nn.moments()` now accepts a `shift` argument. Shifting by a good estimate
1269 of the mean improves numerical stability. Also changes the behavior of the
1270 `shift` argument to `tf.nn.sufficient_statistics()`.
1271* Performance improvements
1272* Many bugfixes
1273* Many documentation fixes
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001274* TensorBoard fixes: graphs with only one data point, Nan values,
1275 reload button and auto-reload, tooltips in scalar charts, run
Vijay Vasudevan490afa92016-06-21 09:18:06 -08001276 filtering, stable colors
1277* Tensorboard graph visualizer now supports run metadata. Clicking on nodes
1278 while viewing a stats for a particular run will show runtime statistics, such
1279 as memory or compute usage. Unused nodes will be faded out.
1280
1281## Thanks to our Contributors
1282
1283This release contains contributions from many people at Google, as well as:
1284
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -08001285Aaron 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 -08001286
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001287We are also grateful to all who filed issues or helped resolve them, asked and
1288answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -08001289
Illia Polosukhin5c9bc512016-04-18 17:56:51 -08001290# Release 0.8.0
1291
1292## Major Features and Improvements
1293
1294* Added a distributed runtime using GRPC
1295* Move skflow to `contrib/learn`
1296* Better linear optimizer in `contrib/linear_optimizer`
1297* Random forest implementation in `contrib/tensor_forest`
1298* CTC loss and decoders in `contrib/ctc`
1299* Basic support for `half` data type
1300* Better support for loading user ops (see examples in `contrib/`)
1301* Allow use of (non-blocking) Eigen threadpool with `TENSORFLOW_USE_EIGEN_THREADPOOL` define
1302* Add an extension mechanism for adding network file system support
1303* TensorBoard displays metadata stats (running time, memory usage and device used) and tensor shapes
1304
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001305## Bug Fixes and Other Changes
Illia Polosukhin5c9bc512016-04-18 17:56:51 -08001306
1307* Utility for inspecting checkpoints
1308* Basic tracing and timeline support
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001309* Allow building against cuDNN 5 (not incl. RNN/LSTM support)
Illia Polosukhin5c9bc512016-04-18 17:56:51 -08001310* Added instructions and binaries for ProtoBuf library with fast serialization and without 64MB limit
1311* Added special functions
Dan Mané54a71782016-09-09 16:07:46 -08001312* `bool`-strictness: Tensors have to be explicitly compared to `None`
Illia Polosukhin5c9bc512016-04-18 17:56:51 -08001313* Shape strictness: all fed values must have a shape that is compatible with the tensor they are replacing
1314* Exposed `tf.while_loop` (deprecated `control_flow_ops.While`)
1315* run() now takes RunOptions and RunMetadata, which enable timing stats
1316* Fixed lots of potential overflow problems in op kernels
1317* Various performance improvements, especially for RNNs and convolutions
1318* Many bugfixes
1319* Nightly builds, tutorial tests, many test improvements
1320* New examples: transfer learning and deepdream ipython notebook
1321* Added tutorials, many documentation fixes.
1322
1323## Thanks to our Contributors
1324
1325This release contains contributions from many people at Google, as well as:
1326
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -08001327Abhinav 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 -08001328
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001329We are also grateful to all who filed issues or helped resolve them, asked and
1330answered questions, and were part of inspiring discussions.
Illia Polosukhin5c9bc512016-04-18 17:56:51 -08001331
1332
Eugene Brevdo56f1d642016-03-10 17:18:30 -08001333# Release 0.7.1
1334
1335## Bug Fixes and Other Changes
1336
1337* Added gfile.Open and gfile.Copy, used by input_data.py.
1338* Fixed Saver bug when MakeDirs tried to create empty directory.
1339* GPU Pip wheels are built with cuda 7.5 and cudnn-v4, making them
1340 required for the binary releases. Lower versions of cuda/cudnn can
1341 be supported by installing from sources and setting the options
1342 during ./configure
1343* Fix dataset encoding example for Python3 (@danijar)
1344* Fix PIP installation by not packaging protobuf as part of wheel,
1345 require protobuf 3.0.0b2.
1346* Fix Mac pip installation of numpy by requiring pip >= 1.10.1.
1347* Improvements and fixes to Docker image.
1348
1349
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001350# Release 0.7.0
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -08001351
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001352## Major Features and Improvements
1353
1354* Allow using any installed Cuda >= 7.0 and cuDNN >= R2, and add support
1355 for cuDNN R4
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001356* Added a `contrib/` directory for unsupported or experimental features,
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001357 including higher level `layers` module
1358* Added an easy way to add and dynamically load user-defined ops
1359* Built out a good suite of tests, things should break less!
1360* Added `MetaGraphDef` which makes it easier to save graphs with metadata
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001361* Added assignments for "Deep Learning with TensorFlow" udacity course
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001362
1363
1364## Bug Fixes and Other Changes
1365
1366* Added a versioning framework for `GraphDef`s to ensure compatibility
1367* Enforced Python 3 compatibility
1368* Internal changes now show up as sensibly separated commits
1369* Open-sourced the doc generator
1370* Un-fork Eigen
1371* Simplified the `BUILD` files and cleaned up C++ headers
1372* TensorFlow can now be used as a submodule in another bazel build
1373* New ops (e.g., `*fft`, `*_matrix_solve`)
1374* Support for more data types in many ops
1375* Performance improvements
1376* Various bugfixes
1377* Documentation fixes and improvements
1378
1379
1380## Breaking Changes to the API
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -08001381
1382* `AdjustContrast` kernel deprecated, new kernel `AdjustContrastv2` takes and
1383 outputs float only. `adjust_contrast` now takes all data types.
1384* `adjust_brightness`'s `delta` argument is now always assumed to be in `[0,1]`
1385 (as is the norm for images in floating point formats), independent of the
1386 data type of the input image.
1387* The image processing ops do not take `min` and `max` inputs any more, casting
1388 safety is handled by `saturate_cast`, which makes sure over- and underflows
1389 are handled before casting to data types with smaller ranges.
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -08001390* For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
1391 `TensorShapeUtils` since TensorFlow is scalar strict within Google (for
1392 example, the shape argument to `tf.reshape` can't be a scalar anymore). The
1393 open source release was already scalar strict, so outside Google `IsScalar`
1394 and `IsVector` are exact replacements.
Josh Levenbergdb7478e2016-01-20 14:54:50 -08001395* The following files are being removed from `tensorflow/core/public/`:
1396 * `env.h` -> `../platform/env.h`
1397 * `status.h` -> `../lib/core/status.h`
1398 * `tensor.h` -> `../framework/tensor.h`
1399 * `tensor_shape.h` -> `../framework/tensor_shape.h`
1400 * `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
1401 * `tensorflow_server.h` deleted
Geoffrey Irving56437752016-01-25 09:43:13 -08001402* For C++ API users: `TensorShape::ShortDebugString` has been renamed to
1403 `DebugString`, and the previous `DebugString` behavior is gone (it was
1404 needlessly verbose and produced a confusing empty string for scalars).
Manjunath Kudlurc2722a12016-01-27 13:24:50 -08001405* `GraphOptions.skip_common_subexpression_elimination` has been removed. All
1406 graph optimizer options are now specified via
1407 `GraphOptions.OptimizerOptions`.
Geoffrey Irving18297122016-02-10 11:48:34 -08001408* `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
1409 were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
1410 currently maintained for short-term compatibility but will be removed.
Eugene Brevdofea55e12016-01-27 14:54:54 -08001411* The non-public `nn.rnn` and the various `nn.seq2seq` methods now return
1412 just the final state instead of the list of all states.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001413* `tf.scatter_update` now no longer guarantees that lexicographically largest
1414 index be used for update when duplicate entries exist.
Geoffrey Irving3e33d442016-02-08 12:02:44 -08001415* `tf.image.random_crop(image, [height, width])` is now
1416 `tf.random_crop(image, [height, width, depth])`, and `tf.random_crop` works
1417 for any rank (not just 3-D images). The C++ `RandomCrop` op has been replaced
1418 with pure Python.
Geoffrey Irving18297122016-02-10 11:48:34 -08001419* Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
1420 `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
1421 compatibility.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001422* `parse_example`'s interface has changed, the old interface is accessible in
1423 `legacy_parse_example` (same for related functions).
1424* New `Variable`s are not added to the same collection several times even if
1425 a list with duplicates is passed to the constructor.
Josh Levenberg02dff6d2016-01-07 18:37:54 -08001426* The Python API will now properly set the `list` member of `AttrValue` in
1427 constructed `GraphDef` messages for empty lists. The serialization of some
1428 graphs will change, but the change is both forwards and backwards compatible.
1429 It will break tests that compare a generated `GraphDef` to a golden serialized
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001430 `GraphDef` (which is discouraged).
1431
1432
1433## Thanks to our Contributors
1434
1435This release contains contributions from many people at Google, as well as:
1436
1437Akiomi Kamakura, Alex Vig, Alexander Rosenberg Johansen, Andre Cruz, Arun Ahuja,
1438Bart Coppens, Bernardo Pires, Carl Vondrick, Cesar Salgado, Chen Yu,
1439Christian Jauvin, Damien Aymeric, Dan Vanderkam, Denny Britz, Dongjoon Hyun,
1440Eren Güven, Erik Erwitt, Fabrizio Milo, G. Hussain Chinoy, Jim Fleming,
1441Joao Felipe Santos, Jonas Meinertz Hansen, Joshi Rekha, Julian Viereck,
1442Keiji Ariyama, Kenton Lee, Krishna Sankar, Kristina Chodorow, Linchao Zhu,
1443Lukas Krecan, Mark Borgerding, Mark Daoust, Moussa Taifi,
1444Nathan Howell, Naveen Sundar Govindarajulu, Nick Sweeting, Niklas Riekenbrauck,
1445Olivier Grisel, Patrick Christ, Povilas Liubauskas, Rainer Wasserfuhr,
1446Romain Thouvenin, Sagan Bolliger, Sam Abrahams, Taehoon Kim, Timothy J Laurent,
1447Vlad Zavidovych, Yangqing Jia, Yi-Lin Juang, Yuxin Wu, Zachary Lipton,
1448Zero Chen, Alan Wu, @brchiu, @emmjaykay, @jalammar, @Mandar-Shinde,
1449@nsipplswezey, @ninotoshi, @panmari, @prolearner and @rizzomichaelg.
1450
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08001451We are also grateful to all who filed issues or helped resolve them, asked and
1452answered questions, and were part of inspiring discussions.
Josh Levenberg02dff6d2016-01-07 18:37:54 -08001453
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -08001454
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001455# Release 0.6.0
1456
1457## Major Features and Improvements
1458
1459* Python 3.3+ support via changes to python codebase and ability
1460 to specify python version via ./configure.
1461
1462* Some improvements to GPU performance and memory usage:
1463 [convnet benchmarks](https://github.com/soumith/convnet-benchmarks/issues/66)
1464 roughly equivalent with native cudnn v2 performance. Improvements mostly due
1465 to moving to 32-bit indices, faster shuffling kernels. More improvements to
1466 come in later releases.
1467
1468
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001469## Bug Fixes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001470
1471* Lots of fixes to documentation and tutorials, many contributed
1472 by the public.
1473
1474* 271 closed issues on github issues.
1475
Vijay Vasudevanfe056f02016-02-17 11:42:30 -08001476## Backwards-Incompatible Changes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001477
Geoffrey Irving18297122016-02-10 11:48:34 -08001478* `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion'
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -08001479 attribute from 0.0 to 1.0. This was a bug in the original release
1480 that is now fixed.
1481
Vijay Vasudevanddd4aaf2015-12-08 09:58:59 -08001482# Release 0.5.0
1483
1484Initial release of TensorFlow.