blob: e9f0361511ae602a0854270a58d4d9fe5127b5e8 [file] [log] [blame] [view]
Benoit Steiner639b4e72017-02-08 09:25:09 -08001# Release 1.0.0
2
3## Major Features and Improvements
4* 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.
5* TensorFlow Debugger (tfdbg): command-line interface and API.
6* New python 3 docker images added.
7* Made pip packages pypi compliant. TensorFlow can now be installed by `pip
8 install tensorflow` command.
9* Several python API calls have been changed to resemble NumPy more closely.
10* Android: person detection + tracking demo implementing Scalable Object
11 Detection using Deep Neural Networks.
12* New (experimental) [Java API](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java).
13* 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 -080014
15## Breaking Changes to the API
Benoit Steiner639b4e72017-02-08 09:25:09 -080016To 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).
17* TensorFlow/models have been moved to a separate github repository.
Andrew Sellefcc39232016-11-22 10:04:37 -080018* Division and modulus operators (/, //, %) now match Python (flooring)
Andrew Sellef0a6d1e2016-12-13 16:01:12 -080019 semantics. This applies to `tf.div` and `tf.mod` as well. To obtain forced
20 integer truncation based behaviors you can use `tf.truncatediv`
21 and `tf.truncatemod`.
22* `tf.divide()` is now the recommended division function. `tf.div()` will
23 remain, but its semantics do not respond to Python 3 or `from future`
24 mechanisms.
25* tf.reverse() now takes indices of axes to be reversed. E.g.
26 `tf.reverse(a, [True, False, True])` must now be written as
27 `tf.reverse(a, [0, 2])`. `tf.reverse_v2()` will remain until 1.0 final.
28* `tf.mul`, `tf.sub` and `tf.neg` are deprecated in favor of `tf.multiply`,
29 `tf.subtract` and `tf.negative`.
A. Unique TensorFlower44977ae2016-12-15 18:36:06 -080030* `tf.pack` and `tf.unpack` are deprecated in favor of `tf.stack` and
31 `tf.unstack`.
32* `TensorArray.pack` and `TensorArray.unpack` are getting deprecated in favor of
33 `TensorArray.stack` and `TensorArray.unstack`.
Andrew Sellef0a6d1e2016-12-13 16:01:12 -080034* The following Python functions have had their arguments changed to use `axis`
35 when referring to specific dimensions. We have kept the old keyword arguments
36 for compatibility currently, but we will be removing them well before the
37 final 1.0.
38 * `tf.argmax`: `dimension` becomes `axis`
39 * `tf.argmin`: `dimension` becomes `axis`
40 * `tf.count_nonzero`: `reduction_indices` becomes `axis`
41 * `tf.expand_dims`: `dim` becomes `axis`
42 * `tf.reduce_all`: `reduction_indices` becomes `axis`
43 * `tf.reduce_any`: `reduction_indices` becomes `axis`
44 * `tf.reduce_join`: `reduction_indices` becomes `axis`
45 * `tf.reduce_logsumexp`: `reduction_indices` becomes `axis`
46 * `tf.reduce_max`: `reduction_indices` becomes `axis`
47 * `tf.reduce_mean`: `reduction_indices` becomes `axis`
48 * `tf.reduce_min`: `reduction_indices` becomes `axis`
49 * `tf.reduce_prod`: `reduction_indices` becomes `axis`
50 * `tf.reduce_sum`: `reduction_indices` becomes `axis`
51 * `tf.reverse_sequence`: `batch_dim` becomes `batch_axis`, `seq_dim` becomes `seq_axis`
52 * `tf.sparse_concat`: `concat_dim` becomes `axis`
53 * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis`
54 * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis`
55 * `tf.sparse_split`: `split_dim` becomes `axis`
56* `tf.listdiff` has been renamed to `tf.setdiff1d` to match NumPy naming.
57* `tf.inv` has been renamed to be `tf.reciprocal` (component-wise reciprocal)
58 to avoid confusion with `np.inv` which is matrix inversion
59* tf.round now uses banker's rounding (round to even) semantics to match NumPy.
60* `tf.split` now takes arguments in a reversed order and with different
61 keywords. In particular, we now match NumPy order as
62 `tf.split(value, num_or_size_splits, axis)`.
63* `tf.sparse_split` now takes arguments in reversed order and with different
64 keywords. In particular we now match NumPy order as
65 `tf.sparse_split(sp_input, num_split, axis)`. NOTE: we have temporarily
66 made `tf.sparse_split` require keyword arguments.
Benoit Steiner639b4e72017-02-08 09:25:09 -080067* `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)`.
68* `tf.image.decode_jpeg` by default uses the faster DCT method, sacrificing
Vijay Vasudevanfebdc1d2016-12-19 21:04:00 -080069 a little fidelity for improved speed. One can revert to the old
Benoit Steiner639b4e72017-02-08 09:25:09 -080070 behavior by specifying the attribute `dct_method='INTEGER_ACCURATE'`.
A. Unique TensorFloweredb095c2016-12-20 14:37:03 -080071* `tf.complex_abs` has been removed from the Python interface. `tf.abs`
72 supports complex tensors and should be used instead.
A. Unique TensorFlowerfac4a352017-01-20 13:14:02 -080073* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
74 from the tensorflow::ops namespace to tensorflow.
Benoit Steiner639b4e72017-02-08 09:25:09 -080075* Template.`var_scope` property renamed to `.variable_scope`
76* SyncReplicasOptimizer is removed and SyncReplicasOptimizerV2 renamed to SyncReplicasOptimizer.
77* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
78 that must be called with initializer arguments, in your code replace
79 `tf.zeros_initializer` with `tf.zeros_initializer()`.
80* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
81 `SparseTensorValue.shape`.
82* 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.
83* Replace tf.train.SummaryWriter and tf.train.SummaryWriterCache with tf.summary.FileWriter and tf.summary.FileWriterCache.
84* Removes RegisterShape from public API. Use C++ shape function registration
85 instead.
86* Deprecated `_ref` dtypes from the python API.
87* In the C++ API (in tensorflow/cc), Input, Output, etc. have moved
88 from the tensorflow::ops namespace to tensorflow.
89* Change arg order for `{softmax,sparse_softmax,sigmoid}_cross_entropy_with_logits` to be (labels, predictions), and force use of named args.
90
91## Bug Fixes and Other Changes
92* New op: `parallel_stack`.
93* Introducing common tf io compression options constants for
94 RecordReader/RecordWriter.
95* Add `sparse_column_with_vocabulary_file`, to specify a feature column that
96 transform string features to IDs, where the mapping is defined by a vocabulary
97 file.
98* Added `index_to_string_table` which returns a lookup table that maps indices to
99 strings.
100* Add `string_to_index_table`, which returns a lookup table that matches strings
101 to indices.
102* Add a `ParallelForWithWorkerId` function.
103* Add `string_to_index_table`, which returns a lookup table that matches strings
104 to indices.
105* Support restore session from checkpoint files in v2 in `contrib/session_bundle`.
106* Added a tf.contrib.image.rotate function for arbitrary angles.
107* Added `tf.contrib.framework.filter_variables` as a convenience function to
108 filter lists of variables based on regular expressions.
109* `make_template()` takes an optional `custom_getter_ param`.
110* Added comment about how existing directories are handled by
111 `recursive_create_dir`.
112* Added an op for QR factorizations.
113* Divides and mods in Python API now use flooring (Python) semantics.
114* Android: pre-built libs are now built nightly.
115* Android: cmake/gradle build for TensorFlow Inference library under
116 `contrib/android/cmake`
117* Android: Much more robust Session initialization code.
118* Android: TF stats now exposed directly in demo and log when debug mode is
119 active
120* Android: new/better README.md documentation
121* saved_model is available as `tf.saved_model`.
122* Empty op is now stateful.
123* Improve speed of scatter_update on the cpu for ASSIGN operations.
124* Change `reduce_join` to treat `reduction_indices` in the same way as other `reduce_` ops.
125* Move `TensorForestEstimator` to `contrib/tensor_forest`.
126* Enable compiler optimizations by default and allow configuration in configure.
127* `tf.divide` now honors the name field.
128* Make metrics weight broadcasting more strict.
129* Add new queue-like `StagingArea` and new ops: `stage` and `unstage`.
130
131## Thanks to our Contributors
132
133This release contains contributions from many people at Google, as well as:
134
135Aaron Hu, Abhishek Aggarwal, Adam Michael, Adriano Carmezim, @AfirSraftGarrier,
136Alexander Novikov, Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Hundt,
137Anish Shah, Anton Loss, @b0noI, @BoyuanJiang, Carl Thomé, Chad Kennedy, Comic
138Chang, Connor Braa, Daniel N. Lang, Daniel Trebbien,
139@danielgordon10, Darcy Liu, Darren Garvey, Dmitri Lapin, Eron Wright, Evan
140Cofer, Fabrizio Milo, Finbarr Timbers, Franck Dernoncourt, Garrett Smith,
141@guschmue, Hao Wei, Henrik Holst, Huazuo Gao, @Ian, @Issac, Jacob Israel,
142Jangsoo Park, Jin Kim, Jingtian Peng, John Pope, Kye Bostelmann, Liangliang He,
143Ling Zhang, Luheng He, Luke Iwanski, @lvli, Michael Basilyan, Mihir Patel,
144Mikalai Drabovich, Morten Just, @newge, Nick Butlin, Nishant Shukla,
145Pengfei Ni, Przemyslaw Tredak, @rasbt, @Ronny, Rudolf Rosa, @RustingSword,
146Sam Abrahams, Sam Putnam, @SeongAhJo, Shi Jiaxin, @skavulya, Steffen MüLler,
147@TheUSER123, @tiriplicamihai, @vhasanov, Victor Costan, Vit Stepanovs,
148Wangda Tan, Wenjian Huang, Xingdong Zuo, Yaroslav Bulatov, Yota Toyama,
149Yuan (Terry) Tang, Yuxin Wu
150
151We are also grateful to all who filed issues or helped resolve them, asked and
152answered questions, and were part of inspiring discussions.
153
Andrew Harp1cb96892016-12-08 20:05:49 -0800154
155# Release 0.12.0
156
157## Major Features and Improvements
158
159* TensorFlow now builds and runs on Microsoft Windows (tested on Windows 10,
160 Windows 7, and Windows Server 2016). Supported languages include Python (via a
161 pip package) and C++. CUDA 8.0 and cuDNN 5.1 are supported for GPU
162 acceleration. Known limitations include: It is not currently possible to load
163 a custom op library. The GCS and HDFS file systems are not currently
164 supported. The following ops are not currently implemented:
Martin Wicke2e4869a2016-12-14 15:46:53 -0800165 Dequantize, QuantizeAndDequantize, QuantizedAvgPool,
Andrew Harp1cb96892016-12-08 20:05:49 -0800166 QuantizedBatchNomWithGlobalNormalization, QuantizedBiasAdd, QuantizedConcat,
167 QuantizedConv2D, QuantizedMatmul, QuantizedMaxPool,
168 QuantizeDownAndShrinkRange, QuantizedRelu, QuantizedRelu6, QuantizedReshape,
169 QuantizeV2, RequantizationRange, and Requantize.
170* Go: Experimental API in Go to create and execute graphs
171 (https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go)
172* New checkpoint format becomes the default in `tf.train.Saver`. Old V1
173 checkpoints continue to be readable; controlled by the `write_version`
174 argument, `tf.train.Saver` now by default writes out in the new V2
175 format. It significantly reduces the peak memory required and latency
176 incurred during restore.
177* Added a new library for library of matrix-free (iterative) solvers for linear
178 equations, linear least-squares, eigenvalues and singular values in
179 tensorflow/contrib/solvers. Initial version has lanczos bidiagonalization,
180 conjugate gradients and CGLS.
181* Added gradients for `matrix_solve_ls` and `self_adjoint_eig`.
182* Large cleanup to add second order gradient for ops with C++ gradients and
183 improve existing gradients such that most ops can now be differentiated
184 multiple times.
185* Added a solver for ordinary differential equations,
186 `tf.contrib.integrate.odeint`.
187* New contrib module for tensors with named axes, `tf.contrib.labeled_tensor`.
188* Visualization of embeddings in TensorBoard.
189
190## Breaking Changes to the API
191
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800192* `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI bus
Benoit Steiner639b4e72017-02-08 09:25:09 -0800193 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
194 previously `BUS_ANY` was used.
Jonathan Hseu879e0ac2016-11-04 11:53:50 -0800195* `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status
Vijay Vasudevan93a975e2017-02-17 17:05:49 -0800196 instead of a bool. Any callers to this function can be converted to a bool
Jonathan Hseu879e0ac2016-11-04 11:53:50 -0800197 by adding .ok() to the call.
Asim Shankare580e722016-11-09 08:21:50 -0800198* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
199 indicating its preferred use in language bindings for TensorFlow.
200 What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
Benoit Steiner639b4e72017-02-08 09:25:09 -0800201* Renamed `TF_Port` to `TF_Output` in the C API.
Andrew Harp1cb96892016-12-08 20:05:49 -0800202* Removes RegisterShape from public API. Use C++ shape function registration instead.
203 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
204 previously `BUS_ANY` was used.
Eugene Brevdo7a7c1eb2016-11-29 09:38:37 -0800205* Most RNN cells and RNN functions now use different variable scopes to be
206 consistent with layers (`tf.contrib.layers`). This means old checkpoints
207 written using this code will not load after this change without providing
208 `Saver` a list of variable renames. Examples of variable scope changes
209 include `RNN` -> `rnn` in `tf.nn.rnn`, `tf.nn.dynamic_rnn` and moving from
210 `Linear/Matrix` -> `weights` and `Linear/Bias` -> `biases` in most RNN cells.
A. Unique TensorFlowerfe558b02016-11-30 11:51:57 -0800211* Deprecated tf.select op. tf.where should be used instead.
Martin Wickea7cd5f62016-12-14 15:22:55 -0800212* `SparseTensor.shape` has been renamed to `SparseTensor.dense_shape`. Same for
213 `SparseTensorValue.shape`.
Andrew Harp1cb96892016-12-08 20:05:49 -0800214* `Env::FileExists` and `FileSystem::FileExists` now return a
Vijay Vasudevan93a975e2017-02-17 17:05:49 -0800215 `tensorflow::Status` instead of a bool. Any callers to this function can be
Andrew Harp1cb96892016-12-08 20:05:49 -0800216 converted to a bool by adding `.ok()` to the call.
217* C API: Type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating
218 its preferred use in language bindings for TensorFlow. What was previously
219 `TF_Session` has been renamed to `TF_DeprecatedSession`.
220* C API: Renamed `TF_Port` to `TF_Output`.
221* C API: The caller retains ownership of `TF_Tensor` objects provided to
222 `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
223* Renamed `tf.image.per_image_whitening()` to
224 `tf.image.per_image_standardization()`
225* Move Summary protobuf constructors to `tf.summary` submodule.
226* Deprecate `histogram_summary`, `audio_summary`, `scalar_summary`,
227 `image_summary`, `merge_summary`, and `merge_all_summaries`.
228* Combined `batch_*` and regular version of linear algebra and FFT ops. The
229 regular op now handles batches as well. All `batch_*` Python interfaces were
230 removed.
231* `tf.all_variables`, `tf.VARIABLES` and `tf.initialize_all_variables` renamed
232 to `tf.global_variables`, `tf.GLOBAL_VARIABLES` and
233 `tf.global_variables_initializer` respectively.
A. Unique TensorFlower46d2c282017-01-02 22:19:48 -0800234* `tf.zeros_initializer()` and `tf.ones_initializer()` now return a callable
235 that must be called with initializer arguments, in your code replace
Benoit Steiner639b4e72017-02-08 09:25:09 -0800236 `tf.zeros_initializer` with `tf.zeros_initializer()`
Andrew Harp1cb96892016-12-08 20:05:49 -0800237
238## Bug Fixes and Other Changes
239
240* Use threadsafe version of `lgamma` function.
241* Fix `tf.sqrt` handling of negative arguments.
242* Fixed bug causing incorrect number of threads to be used for multi-threaded
243 benchmarks.
244* Performance optimizations for `batch_matmul` on multi-core CPUs.
245* Improve trace, `matrix_set_diag`, `matrix_diag_part` and their gradients to
246 work for rectangular matrices.
247* Support for SVD of complex valued matrices.
248
249
250## Thanks to our Contributors
251
252This release contains contributions from many people at Google, as well as:
253
254@a7744hsc, Abhi Agg, @admcrae, Adriano Carmezim, Aki Sukegawa, Alex Kendall,
255Alexander Rosenberg Johansen, @amcrae, Amlan Kar, Andre Simpelo, Andreas Eberle,
256Andrew Hundt, Arnaud Lenglet, @b0noI, Balachander Ramachandran, Ben Barsdell,
257Ben Guidarelli, Benjamin Mularczyk, Burness Duan, @c0g, Changming Sun,
258@chanis, Corey Wharton, Dan J, Daniel Trebbien, Darren Garvey, David Brailovsky,
259David Jones, Di Zeng, @DjangoPeng, Dr. Kashif Rasul, @drag0, Fabrizio (Misto)
260Milo, FabríCio Ceschin, @fp, @Ghedeon, @guschmue, Gökçen Eraslan, Haosdent
261Huang, Haroen Viaene, Harold Cooper, Henrik Holst, @hoangmit, Ivan Ukhov, Javier
262Dehesa, Jingtian Peng, Jithin Odattu, Joan Pastor, Johan Mathe, Johannes Mayer,
263Jongwook Choi, Justus Schwabedal, Kai Wolf, Kamil Hryniewicz, Kamran Amini,
264Karen Brems, Karl Lattimer, @kborer, Ken Shirriff, Kevin Rose, Larissa Laich,
265Laurent Mazare, Leonard Lee, Liang-Chi Hsieh, Liangliang He, Luke Iwanski,
266Marek Kolodziej, Moustafa Alzantot, @MrQianjinsi, @nagachika, Neil Han, Nick
267Meehan, Niels Ole Salscheider, Nikhil Mishra, @nschuc, Ondrej Skopek, OndřEj
268Filip, @OscarDPan, Pablo Moyano, Przemyslaw Tredak, @qitaishui, @Quarazy,
269@raix852, Philipp Helo, Sam Abrahams, @SriramRamesh, Till Hoffmann, Tushar Soni,
270@tvn, @tyfkda, Uwe Schmidt, Victor Villas, Vit Stepanovs, Vladislav Gubarev,
271@wujingyue, Xuesong Yang, Yi Liu, Yilei Yang, @youyou3, Yuan (Terry) Tang,
272Yuming Wang, Zafar Takhirov, @zhongyuk, Ziming Dong, @guotong1988
273
274We are also grateful to all who filed issues or helped resolve them, asked and
275answered questions, and were part of inspiring discussions.
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800276
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800277# Release 0.11.0
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800278
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800279## Major Features and Improvements
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800280
Vijay Vasudevan818993c2016-11-03 17:07:01 -0800281* CUDA 8 support.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800282* cuDNN 5 support.
283* HDFS Support.
284* Adds Fused LSTM support via cuDNN 5 in `tensorflow/contrib/cudnn_rnn`.
285* Improved support for NumPy style basic slicing including non-1 strides,
286 ellipses, newaxis, and negative indices. For example complicated expressions
287 like `foo[1, 2:4, tf.newaxis, ..., :-3:-1, :]` are now supported. In addition
288 we have preliminary (non-broadcasting) support for sliced assignment to
289 variables. In particular one can write `var[1:3].assign([1,11,111])`.
290* 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.
291* Introducing `core/util/tensor_bundle` module: a module to efficiently
292 serialize/deserialize tensors to disk. Will be used in TF's new checkpoint
293 format.
294* Added tf.svd for computing the singular value decomposition (SVD) of dense
295 matrices or batches of matrices (CPU only).
296* Added gradients for eigenvalues and eigenvectors computed using
297 `self_adjoint_eig` or `self_adjoint_eigvals`.
298* Eliminated `batch_*` methods for most linear algebra and FFT ops and promoted
299 the non-batch version of the ops to handle batches of matrices.
300* Tracing/timeline support for distributed runtime (no GPU profiler yet).
301* C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and
302 `TF_GraphGetTensorShape`.
303* Shape functions for core ops have moved to C++ via
304 `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape calls
305 use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A future
306 release will remove `RegisterShape` from python.
307
308
309## Bug Fixes and Other Changes
310
311* Documentation now includes operator overloads on Tensor and Variable.
312* `tensorflow.__git_version__` now allows users to identify the version of the
313 code that TensorFlow was compiled with. We also have
314 `tensorflow.__git_compiler__` which identifies the compiler used to compile
315 TensorFlow's core.
316* Improved multi-threaded performance of `batch_matmul`.
Eugene Brevdo21e1cc72016-08-11 21:45:39 -0800317* LSTMCell, BasicLSTMCell, and MultiRNNCell constructors now default to
318 `state_is_tuple=True`. For a quick fix while transitioning to the new
319 default, simply pass the argument `state_is_tuple=False`.
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800320* DeviceFactory's AddDevices and CreateDevices functions now return
321 a Status instead of void.
A. Unique TensorFlower84cefad2016-08-12 07:06:13 -0800322* Int32 elements of list(type) arguments are no longer placed in host memory by
323 default. If necessary, a list(type) argument to a kernel can be placed in host
324 memory using a HostMemory annotation.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800325* `uniform_unit_scaling_initializer()` no longer takes a `full_shape` arg,
326 instead relying on the partition info passed to the initializer function when
327 it's called.
328* The NodeDef protocol message is now defined in its own file `node_def.proto`
329 `instead of graph.proto`.
330* `ops.NoGradient` was renamed `ops.NotDifferentiable`. `ops.NoGradient` will
Vijay Vasudevan612bae72016-09-09 11:03:09 -0800331 be removed soon.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800332* `dot.h` / DotGraph was removed (it was an early analysis tool prior
Vijay Vasudevan269bfee2016-09-21 21:41:19 -0800333 to TensorBoard, no longer that useful). It remains in history
334 should someone find the code useful.
Vijay Vasudevan914625a2016-09-23 13:51:34 -0800335* re2 / regexp.h was removed from being a public interface of TF.
336 Should users need regular expressions, they should depend on the RE2
337 library directly rather than via TensorFlow.
Dan Manée5bcf542016-05-16 13:39:34 -0800338
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800339## Thanks to our Contributors
340
341This release contains contributions from many people at Google, as well as:
342
343Abid K, @afshinrahimi, @AidanGG, Ajay Rao, Aki Sukegawa, Alex Rothberg,
344Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Thomas, @Appleholic,
345Bastiaan Quast, Ben Dilday, Bofu Chen, Brandon Amos, Bryon Gloden, Cissp®,
346@chanis, Chenyang Liu, Corey Wharton, Daeyun Shin, Daniel Julius Lasiman, Daniel
347Waterworth, Danijar Hafner, Darren Garvey, Denis Gorbachev, @DjangoPeng,
348Egor-Krivov, Elia Palme, Eric Platon, Fabrizio Milo, Gaetan Semet,
349Georg Nebehay, Gu Wang, Gustav Larsson, @haosdent, Harold Cooper, Hw-Zz,
350@ichuang, Igor Babuschkin, Igor Macedo Quintanilha, Ilya Edrenkin, @ironhead,
351Jakub Kolodziejczyk, Jennifer Guo, Jihun Choi, Jonas Rauber, Josh Bleecher
352Snyder, @jpangburn, Jules Gagnon-Marchand, Karen Brems, @kborer, Kirill Bobyrev,
353Laurent Mazare, Longqi Yang, Malith Yapa, Maniteja Nandana, Martin Englund,
354Matthias Winkelmann, @mecab, Mu-Ik Jeon, Nand Dalal, Niels Ole Salscheider,
355Nikhil Mishra, Park Jiin, Pieter De Rijk, @raix852, Ritwik Gupta, Sahil Sharma,
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -0800356Sangheum Hwang, @SergejsRk, Shinichiro Hamaji, Simon Denel, @Steve, @suiyuan2009,
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800357Tiago Jorge, Tijmen Tieleman, @tvn, @tyfkda, Wang Yang, Wei-Ting Kuo, Wenjian
358Huang, Yan Chen, @YenChenLin, Yuan (Terry) Tang, Yuncheng Li, Yunfeng Wang, Zack
359Polizzi, @zhongzyd, Ziming Dong, @perhapszzy
360
361We are also grateful to all who filed issues or helped resolve them, asked and
362answered questions, and were part of inspiring discussions.
363
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800364# Release 0.10.0
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800365
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800366## Major Features and Improvements
367
368* Added support for C++ shape inference
369* Added graph-construction C API
370* Major revision to the graph-construction C++ API
371* Support makefile build for iOS
372* Added Mac GPU support
373* Full version of TF-Slim available as `tf.contrib.slim`
374* Added k-Means clustering and WALS matrix factorization
375
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800376## Bug Fixes and Other Changes
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800377
378* Allow gradient computation for scalar values.
379* Performance improvements for gRPC
380* Improved support for fp16
381* New high-level ops in tf.contrib.{layers,metrics}
382* New features for TensorBoard, such as shape display, exponential smoothing
383* Faster and more stable Google Cloud Storage (GCS) filesystem support
384* Support for zlib compression and decompression for TFRecordReader and TFRecordWriter
385* Support for reading (animated) GIFs
386* Improved support for SparseTensor
387* Added support for more probability distributions (Dirichlet, Beta, Bernoulli, etc.)
388* Added Python interfaces to reset resource containers.
389* Many bugfixes and performance improvements
390* Many documentation fixes
391
392## Thanks to our Contributors
393
394This release contains contributions from many people at Google, as well as:
395
396Alex 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
397
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800398We are also grateful to all who filed issues or helped resolve them, asked and
399answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800400
401# Release 0.9.0
402
403## Major Features and Improvements
404
405* Python 3.5 support and binaries
406* Added iOS support
407* Added support for processing on GPUs on MacOS
408* Added makefile for better cross-platform build support (C API only)
409* fp16 support and improved complex128 support for many ops
410* Higher level functionality in contrib.{layers,losses,metrics,learn}
411* More features to Tensorboard
412* Improved support for string embedding and sparse features
413* The RNN api is finally "official" (see, e.g., `tf.nn.dynamic_rnn`,
414 `tf.nn.rnn`, and the classes in `tf.nn.rnn_cell`).
415* TensorBoard now has an Audio Dashboard, with associated audio summaries.
416
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800417## Bug Fixes and Other Changes
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800418
419* Turned on CuDNN Autotune.
420* Added support for using third-party Python optimization algorithms (contrib.opt).
421* Google Cloud Storage filesystem support.
422* HDF5 support
423* Add support for 3d convolutions and pooling.
424* Update gRPC release to 0.14.
425* Eigen version upgrade.
426* Switch to eigen thread pool
427* `tf.nn.moments()` now accepts a `shift` argument. Shifting by a good estimate
428 of the mean improves numerical stability. Also changes the behavior of the
429 `shift` argument to `tf.nn.sufficient_statistics()`.
430* Performance improvements
431* Many bugfixes
432* Many documentation fixes
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800433* TensorBoard fixes: graphs with only one data point, Nan values,
434 reload button and auto-reload, tooltips in scalar charts, run
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800435 filtering, stable colors
436* Tensorboard graph visualizer now supports run metadata. Clicking on nodes
437 while viewing a stats for a particular run will show runtime statistics, such
438 as memory or compute usage. Unused nodes will be faded out.
439
440## Thanks to our Contributors
441
442This release contains contributions from many people at Google, as well as:
443
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800444Aaron 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 -0800445
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800446We are also grateful to all who filed issues or helped resolve them, asked and
447answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800448
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800449# Release 0.8.0
450
451## Major Features and Improvements
452
453* Added a distributed runtime using GRPC
454* Move skflow to `contrib/learn`
455* Better linear optimizer in `contrib/linear_optimizer`
456* Random forest implementation in `contrib/tensor_forest`
457* CTC loss and decoders in `contrib/ctc`
458* Basic support for `half` data type
459* Better support for loading user ops (see examples in `contrib/`)
460* Allow use of (non-blocking) Eigen threadpool with `TENSORFLOW_USE_EIGEN_THREADPOOL` define
461* Add an extension mechanism for adding network file system support
462* TensorBoard displays metadata stats (running time, memory usage and device used) and tensor shapes
463
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800464## Bug Fixes and Other Changes
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800465
466* Utility for inspecting checkpoints
467* Basic tracing and timeline support
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800468* Allow building against cuDNN 5 (not incl. RNN/LSTM support)
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800469* Added instructions and binaries for ProtoBuf library with fast serialization and without 64MB limit
470* Added special functions
Dan Mané54a71782016-09-09 16:07:46 -0800471* `bool`-strictness: Tensors have to be explicitly compared to `None`
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800472* Shape strictness: all fed values must have a shape that is compatible with the tensor they are replacing
473* Exposed `tf.while_loop` (deprecated `control_flow_ops.While`)
474* run() now takes RunOptions and RunMetadata, which enable timing stats
475* Fixed lots of potential overflow problems in op kernels
476* Various performance improvements, especially for RNNs and convolutions
477* Many bugfixes
478* Nightly builds, tutorial tests, many test improvements
479* New examples: transfer learning and deepdream ipython notebook
480* Added tutorials, many documentation fixes.
481
482## Thanks to our Contributors
483
484This release contains contributions from many people at Google, as well as:
485
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800486Abhinav 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 -0800487
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800488We are also grateful to all who filed issues or helped resolve them, asked and
489answered questions, and were part of inspiring discussions.
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800490
491
Eugene Brevdo56f1d642016-03-10 17:18:30 -0800492# Release 0.7.1
493
494## Bug Fixes and Other Changes
495
496* Added gfile.Open and gfile.Copy, used by input_data.py.
497* Fixed Saver bug when MakeDirs tried to create empty directory.
498* GPU Pip wheels are built with cuda 7.5 and cudnn-v4, making them
499 required for the binary releases. Lower versions of cuda/cudnn can
500 be supported by installing from sources and setting the options
501 during ./configure
502* Fix dataset encoding example for Python3 (@danijar)
503* Fix PIP installation by not packaging protobuf as part of wheel,
504 require protobuf 3.0.0b2.
505* Fix Mac pip installation of numpy by requiring pip >= 1.10.1.
506* Improvements and fixes to Docker image.
507
508
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800509# Release 0.7.0
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800510
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800511## Major Features and Improvements
512
513* Allow using any installed Cuda >= 7.0 and cuDNN >= R2, and add support
514 for cuDNN R4
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800515* Added a `contrib/` directory for unsupported or experimental features,
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800516 including higher level `layers` module
517* Added an easy way to add and dynamically load user-defined ops
518* Built out a good suite of tests, things should break less!
519* Added `MetaGraphDef` which makes it easier to save graphs with metadata
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800520* Added assignments for "Deep Learning with TensorFlow" udacity course
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800521
522
523## Bug Fixes and Other Changes
524
525* Added a versioning framework for `GraphDef`s to ensure compatibility
526* Enforced Python 3 compatibility
527* Internal changes now show up as sensibly separated commits
528* Open-sourced the doc generator
529* Un-fork Eigen
530* Simplified the `BUILD` files and cleaned up C++ headers
531* TensorFlow can now be used as a submodule in another bazel build
532* New ops (e.g., `*fft`, `*_matrix_solve`)
533* Support for more data types in many ops
534* Performance improvements
535* Various bugfixes
536* Documentation fixes and improvements
537
538
539## Breaking Changes to the API
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800540
541* `AdjustContrast` kernel deprecated, new kernel `AdjustContrastv2` takes and
542 outputs float only. `adjust_contrast` now takes all data types.
543* `adjust_brightness`'s `delta` argument is now always assumed to be in `[0,1]`
544 (as is the norm for images in floating point formats), independent of the
545 data type of the input image.
546* The image processing ops do not take `min` and `max` inputs any more, casting
547 safety is handled by `saturate_cast`, which makes sure over- and underflows
548 are handled before casting to data types with smaller ranges.
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -0800549* For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
550 `TensorShapeUtils` since TensorFlow is scalar strict within Google (for
551 example, the shape argument to `tf.reshape` can't be a scalar anymore). The
552 open source release was already scalar strict, so outside Google `IsScalar`
553 and `IsVector` are exact replacements.
Josh Levenbergdb7478e2016-01-20 14:54:50 -0800554* The following files are being removed from `tensorflow/core/public/`:
555 * `env.h` -> `../platform/env.h`
556 * `status.h` -> `../lib/core/status.h`
557 * `tensor.h` -> `../framework/tensor.h`
558 * `tensor_shape.h` -> `../framework/tensor_shape.h`
559 * `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
560 * `tensorflow_server.h` deleted
Geoffrey Irving56437752016-01-25 09:43:13 -0800561* For C++ API users: `TensorShape::ShortDebugString` has been renamed to
562 `DebugString`, and the previous `DebugString` behavior is gone (it was
563 needlessly verbose and produced a confusing empty string for scalars).
Manjunath Kudlurc2722a12016-01-27 13:24:50 -0800564* `GraphOptions.skip_common_subexpression_elimination` has been removed. All
565 graph optimizer options are now specified via
566 `GraphOptions.OptimizerOptions`.
Geoffrey Irving18297122016-02-10 11:48:34 -0800567* `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
568 were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
569 currently maintained for short-term compatibility but will be removed.
Eugene Brevdofea55e12016-01-27 14:54:54 -0800570* The non-public `nn.rnn` and the various `nn.seq2seq` methods now return
571 just the final state instead of the list of all states.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800572* `tf.scatter_update` now no longer guarantees that lexicographically largest
573 index be used for update when duplicate entries exist.
Geoffrey Irving3e33d442016-02-08 12:02:44 -0800574* `tf.image.random_crop(image, [height, width])` is now
575 `tf.random_crop(image, [height, width, depth])`, and `tf.random_crop` works
576 for any rank (not just 3-D images). The C++ `RandomCrop` op has been replaced
577 with pure Python.
Geoffrey Irving18297122016-02-10 11:48:34 -0800578* Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
579 `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
580 compatibility.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800581* `parse_example`'s interface has changed, the old interface is accessible in
582 `legacy_parse_example` (same for related functions).
583* New `Variable`s are not added to the same collection several times even if
584 a list with duplicates is passed to the constructor.
Josh Levenberg02dff6d2016-01-07 18:37:54 -0800585* The Python API will now properly set the `list` member of `AttrValue` in
586 constructed `GraphDef` messages for empty lists. The serialization of some
587 graphs will change, but the change is both forwards and backwards compatible.
588 It will break tests that compare a generated `GraphDef` to a golden serialized
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800589 `GraphDef` (which is discouraged).
590
591
592## Thanks to our Contributors
593
594This release contains contributions from many people at Google, as well as:
595
596Akiomi Kamakura, Alex Vig, Alexander Rosenberg Johansen, Andre Cruz, Arun Ahuja,
597Bart Coppens, Bernardo Pires, Carl Vondrick, Cesar Salgado, Chen Yu,
598Christian Jauvin, Damien Aymeric, Dan Vanderkam, Denny Britz, Dongjoon Hyun,
599Eren Güven, Erik Erwitt, Fabrizio Milo, G. Hussain Chinoy, Jim Fleming,
600Joao Felipe Santos, Jonas Meinertz Hansen, Joshi Rekha, Julian Viereck,
601Keiji Ariyama, Kenton Lee, Krishna Sankar, Kristina Chodorow, Linchao Zhu,
602Lukas Krecan, Mark Borgerding, Mark Daoust, Moussa Taifi,
603Nathan Howell, Naveen Sundar Govindarajulu, Nick Sweeting, Niklas Riekenbrauck,
604Olivier Grisel, Patrick Christ, Povilas Liubauskas, Rainer Wasserfuhr,
605Romain Thouvenin, Sagan Bolliger, Sam Abrahams, Taehoon Kim, Timothy J Laurent,
606Vlad Zavidovych, Yangqing Jia, Yi-Lin Juang, Yuxin Wu, Zachary Lipton,
607Zero Chen, Alan Wu, @brchiu, @emmjaykay, @jalammar, @Mandar-Shinde,
608@nsipplswezey, @ninotoshi, @panmari, @prolearner and @rizzomichaelg.
609
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800610We are also grateful to all who filed issues or helped resolve them, asked and
611answered questions, and were part of inspiring discussions.
Josh Levenberg02dff6d2016-01-07 18:37:54 -0800612
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -0800613
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800614# Release 0.6.0
615
616## Major Features and Improvements
617
618* Python 3.3+ support via changes to python codebase and ability
619 to specify python version via ./configure.
620
621* Some improvements to GPU performance and memory usage:
622 [convnet benchmarks](https://github.com/soumith/convnet-benchmarks/issues/66)
623 roughly equivalent with native cudnn v2 performance. Improvements mostly due
624 to moving to 32-bit indices, faster shuffling kernels. More improvements to
625 come in later releases.
626
627
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800628## Bug Fixes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800629
630* Lots of fixes to documentation and tutorials, many contributed
631 by the public.
632
633* 271 closed issues on github issues.
634
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800635## Backwards-Incompatible Changes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800636
Geoffrey Irving18297122016-02-10 11:48:34 -0800637* `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion'
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800638 attribute from 0.0 to 1.0. This was a bug in the original release
639 that is now fixed.
640
Vijay Vasudevanddd4aaf2015-12-08 09:58:59 -0800641# Release 0.5.0
642
643Initial release of TensorFlow.