blob: 51dd28674c0e6454719e356b36f15d20fcca00a1 [file] [log] [blame] [view]
A. Unique TensorFlower79228c72016-10-19 16:25:46 -08001# Changes since the last release
2
3## Breaking Changes to the API
4
Andrew Sellefcc39232016-11-22 10:04:37 -08005* Division and modulus operators (/, //, %) now match Python (flooring)
Andrew Sellef0a6d1e2016-12-13 16:01:12 -08006 semantics. This applies to `tf.div` and `tf.mod` as well. To obtain forced
7 integer truncation based behaviors you can use `tf.truncatediv`
8 and `tf.truncatemod`.
9* `tf.divide()` is now the recommended division function. `tf.div()` will
10 remain, but its semantics do not respond to Python 3 or `from future`
11 mechanisms.
12* tf.reverse() now takes indices of axes to be reversed. E.g.
13 `tf.reverse(a, [True, False, True])` must now be written as
14 `tf.reverse(a, [0, 2])`. `tf.reverse_v2()` will remain until 1.0 final.
15* `tf.mul`, `tf.sub` and `tf.neg` are deprecated in favor of `tf.multiply`,
16 `tf.subtract` and `tf.negative`.
17* The following Python functions have had their arguments changed to use `axis`
18 when referring to specific dimensions. We have kept the old keyword arguments
19 for compatibility currently, but we will be removing them well before the
20 final 1.0.
21 * `tf.argmax`: `dimension` becomes `axis`
22 * `tf.argmin`: `dimension` becomes `axis`
23 * `tf.count_nonzero`: `reduction_indices` becomes `axis`
24 * `tf.expand_dims`: `dim` becomes `axis`
25 * `tf.reduce_all`: `reduction_indices` becomes `axis`
26 * `tf.reduce_any`: `reduction_indices` becomes `axis`
27 * `tf.reduce_join`: `reduction_indices` becomes `axis`
28 * `tf.reduce_logsumexp`: `reduction_indices` becomes `axis`
29 * `tf.reduce_max`: `reduction_indices` becomes `axis`
30 * `tf.reduce_mean`: `reduction_indices` becomes `axis`
31 * `tf.reduce_min`: `reduction_indices` becomes `axis`
32 * `tf.reduce_prod`: `reduction_indices` becomes `axis`
33 * `tf.reduce_sum`: `reduction_indices` becomes `axis`
34 * `tf.reverse_sequence`: `batch_dim` becomes `batch_axis`, `seq_dim` becomes `seq_axis`
35 * `tf.sparse_concat`: `concat_dim` becomes `axis`
36 * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis`
37 * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis`
38 * `tf.sparse_split`: `split_dim` becomes `axis`
39* `tf.listdiff` has been renamed to `tf.setdiff1d` to match NumPy naming.
40* `tf.inv` has been renamed to be `tf.reciprocal` (component-wise reciprocal)
41 to avoid confusion with `np.inv` which is matrix inversion
42* tf.round now uses banker's rounding (round to even) semantics to match NumPy.
43* `tf.split` now takes arguments in a reversed order and with different
44 keywords. In particular, we now match NumPy order as
45 `tf.split(value, num_or_size_splits, axis)`.
46* `tf.sparse_split` now takes arguments in reversed order and with different
47 keywords. In particular we now match NumPy order as
48 `tf.sparse_split(sp_input, num_split, axis)`. NOTE: we have temporarily
49 made `tf.sparse_split` require keyword arguments.
Andrew Harp1cb96892016-12-08 20:05:49 -080050
51# Release 0.12.0
52
53## Major Features and Improvements
54
55* TensorFlow now builds and runs on Microsoft Windows (tested on Windows 10,
56 Windows 7, and Windows Server 2016). Supported languages include Python (via a
57 pip package) and C++. CUDA 8.0 and cuDNN 5.1 are supported for GPU
58 acceleration. Known limitations include: It is not currently possible to load
59 a custom op library. The GCS and HDFS file systems are not currently
60 supported. The following ops are not currently implemented:
61 DepthwiseConv2dNative, DepthwiseConv2dNativeBackpropFilter,
62 DepthwiseConv2dNativeBackpropInput, Dequantize, Digamma, Erf, Erfc, Igamma,
63 Igammac, Lgamma, Polygamma, QuantizeAndDequantize, QuantizedAvgPool,
64 QuantizedBatchNomWithGlobalNormalization, QuantizedBiasAdd, QuantizedConcat,
65 QuantizedConv2D, QuantizedMatmul, QuantizedMaxPool,
66 QuantizeDownAndShrinkRange, QuantizedRelu, QuantizedRelu6, QuantizedReshape,
67 QuantizeV2, RequantizationRange, and Requantize.
68* Go: Experimental API in Go to create and execute graphs
69 (https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go)
70* New checkpoint format becomes the default in `tf.train.Saver`. Old V1
71 checkpoints continue to be readable; controlled by the `write_version`
72 argument, `tf.train.Saver` now by default writes out in the new V2
73 format. It significantly reduces the peak memory required and latency
74 incurred during restore.
75* Added a new library for library of matrix-free (iterative) solvers for linear
76 equations, linear least-squares, eigenvalues and singular values in
77 tensorflow/contrib/solvers. Initial version has lanczos bidiagonalization,
78 conjugate gradients and CGLS.
79* Added gradients for `matrix_solve_ls` and `self_adjoint_eig`.
80* Large cleanup to add second order gradient for ops with C++ gradients and
81 improve existing gradients such that most ops can now be differentiated
82 multiple times.
83* Added a solver for ordinary differential equations,
84 `tf.contrib.integrate.odeint`.
85* New contrib module for tensors with named axes, `tf.contrib.labeled_tensor`.
86* Visualization of embeddings in TensorBoard.
87
88## Breaking Changes to the API
89
A. Unique TensorFlower79228c72016-10-19 16:25:46 -080090* `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI bus
Andrew Harp1cb96892016-12-08 20:05:49 -080091 indexing now starts from 1 instead of 0, and bus_id==0 is used where
92 previously BUS_ANY was used.
Jonathan Hseu879e0ac2016-11-04 11:53:50 -080093* `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status
94 intead of a bool. Any callers to this function can be converted to a bool
95 by adding .ok() to the call.
Asim Shankare580e722016-11-09 08:21:50 -080096* The C API type `TF_SessionWithGraph` has been renamed to `TF_Session`,
97 indicating its preferred use in language bindings for TensorFlow.
98 What was previously `TF_Session` has been renamed to `TF_DeprecatedSession`.
Jonathan Hseu8f6cb222016-11-16 14:11:44 -080099* Renamed TF_Port to TF_Output in the C API.
Andrew Harp1cb96892016-12-08 20:05:49 -0800100* Removes RegisterShape from public API. Use C++ shape function registration instead.
101 indexing now starts from 1 instead of 0, and `bus_id==0` is used where
102 previously `BUS_ANY` was used.
Eugene Brevdo7a7c1eb2016-11-29 09:38:37 -0800103* Most RNN cells and RNN functions now use different variable scopes to be
104 consistent with layers (`tf.contrib.layers`). This means old checkpoints
105 written using this code will not load after this change without providing
106 `Saver` a list of variable renames. Examples of variable scope changes
107 include `RNN` -> `rnn` in `tf.nn.rnn`, `tf.nn.dynamic_rnn` and moving from
108 `Linear/Matrix` -> `weights` and `Linear/Bias` -> `biases` in most RNN cells.
A. Unique TensorFlowerfe558b02016-11-30 11:51:57 -0800109* Deprecated tf.select op. tf.where should be used instead.
Andrew Harp1cb96892016-12-08 20:05:49 -0800110* `Env::FileExists` and `FileSystem::FileExists` now return a
111 `tensorflow::Status` intead of a bool. Any callers to this function can be
112 converted to a bool by adding `.ok()` to the call.
113* C API: Type `TF_SessionWithGraph` has been renamed to `TF_Session`, indicating
114 its preferred use in language bindings for TensorFlow. What was previously
115 `TF_Session` has been renamed to `TF_DeprecatedSession`.
116* C API: Renamed `TF_Port` to `TF_Output`.
117* C API: The caller retains ownership of `TF_Tensor` objects provided to
118 `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
119* Renamed `tf.image.per_image_whitening()` to
120 `tf.image.per_image_standardization()`
121* Move Summary protobuf constructors to `tf.summary` submodule.
122* Deprecate `histogram_summary`, `audio_summary`, `scalar_summary`,
123 `image_summary`, `merge_summary`, and `merge_all_summaries`.
124* Combined `batch_*` and regular version of linear algebra and FFT ops. The
125 regular op now handles batches as well. All `batch_*` Python interfaces were
126 removed.
127* `tf.all_variables`, `tf.VARIABLES` and `tf.initialize_all_variables` renamed
128 to `tf.global_variables`, `tf.GLOBAL_VARIABLES` and
129 `tf.global_variables_initializer` respectively.
130
131## Bug Fixes and Other Changes
132
133* Use threadsafe version of `lgamma` function.
134* Fix `tf.sqrt` handling of negative arguments.
135* Fixed bug causing incorrect number of threads to be used for multi-threaded
136 benchmarks.
137* Performance optimizations for `batch_matmul` on multi-core CPUs.
138* Improve trace, `matrix_set_diag`, `matrix_diag_part` and their gradients to
139 work for rectangular matrices.
140* Support for SVD of complex valued matrices.
141
142
143## Thanks to our Contributors
144
145This release contains contributions from many people at Google, as well as:
146
147@a7744hsc, Abhi Agg, @admcrae, Adriano Carmezim, Aki Sukegawa, Alex Kendall,
148Alexander Rosenberg Johansen, @amcrae, Amlan Kar, Andre Simpelo, Andreas Eberle,
149Andrew Hundt, Arnaud Lenglet, @b0noI, Balachander Ramachandran, Ben Barsdell,
150Ben Guidarelli, Benjamin Mularczyk, Burness Duan, @c0g, Changming Sun,
151@chanis, Corey Wharton, Dan J, Daniel Trebbien, Darren Garvey, David Brailovsky,
152David Jones, Di Zeng, @DjangoPeng, Dr. Kashif Rasul, @drag0, Fabrizio (Misto)
153Milo, FabríCio Ceschin, @fp, @Ghedeon, @guschmue, Gökçen Eraslan, Haosdent
154Huang, Haroen Viaene, Harold Cooper, Henrik Holst, @hoangmit, Ivan Ukhov, Javier
155Dehesa, Jingtian Peng, Jithin Odattu, Joan Pastor, Johan Mathe, Johannes Mayer,
156Jongwook Choi, Justus Schwabedal, Kai Wolf, Kamil Hryniewicz, Kamran Amini,
157Karen Brems, Karl Lattimer, @kborer, Ken Shirriff, Kevin Rose, Larissa Laich,
158Laurent Mazare, Leonard Lee, Liang-Chi Hsieh, Liangliang He, Luke Iwanski,
159Marek Kolodziej, Moustafa Alzantot, @MrQianjinsi, @nagachika, Neil Han, Nick
160Meehan, Niels Ole Salscheider, Nikhil Mishra, @nschuc, Ondrej Skopek, OndřEj
161Filip, @OscarDPan, Pablo Moyano, Przemyslaw Tredak, @qitaishui, @Quarazy,
162@raix852, Philipp Helo, Sam Abrahams, @SriramRamesh, Till Hoffmann, Tushar Soni,
163@tvn, @tyfkda, Uwe Schmidt, Victor Villas, Vit Stepanovs, Vladislav Gubarev,
164@wujingyue, Xuesong Yang, Yi Liu, Yilei Yang, @youyou3, Yuan (Terry) Tang,
165Yuming Wang, Zafar Takhirov, @zhongyuk, Ziming Dong, @guotong1988
166
167We are also grateful to all who filed issues or helped resolve them, asked and
168answered questions, and were part of inspiring discussions.
A. Unique TensorFlower79228c72016-10-19 16:25:46 -0800169
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800170# Release 0.11.0
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800171
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800172## Major Features and Improvements
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800173
Vijay Vasudevan818993c2016-11-03 17:07:01 -0800174* CUDA 8 support.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800175* cuDNN 5 support.
176* HDFS Support.
177* Adds Fused LSTM support via cuDNN 5 in `tensorflow/contrib/cudnn_rnn`.
178* Improved support for NumPy style basic slicing including non-1 strides,
179 ellipses, newaxis, and negative indices. For example complicated expressions
180 like `foo[1, 2:4, tf.newaxis, ..., :-3:-1, :]` are now supported. In addition
181 we have preliminary (non-broadcasting) support for sliced assignment to
182 variables. In particular one can write `var[1:3].assign([1,11,111])`.
183* 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.
184* Introducing `core/util/tensor_bundle` module: a module to efficiently
185 serialize/deserialize tensors to disk. Will be used in TF's new checkpoint
186 format.
187* Added tf.svd for computing the singular value decomposition (SVD) of dense
188 matrices or batches of matrices (CPU only).
189* Added gradients for eigenvalues and eigenvectors computed using
190 `self_adjoint_eig` or `self_adjoint_eigvals`.
191* Eliminated `batch_*` methods for most linear algebra and FFT ops and promoted
192 the non-batch version of the ops to handle batches of matrices.
193* Tracing/timeline support for distributed runtime (no GPU profiler yet).
194* C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and
195 `TF_GraphGetTensorShape`.
196* Shape functions for core ops have moved to C++ via
197 `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape calls
198 use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A future
199 release will remove `RegisterShape` from python.
200
201
202## Bug Fixes and Other Changes
203
204* Documentation now includes operator overloads on Tensor and Variable.
205* `tensorflow.__git_version__` now allows users to identify the version of the
206 code that TensorFlow was compiled with. We also have
207 `tensorflow.__git_compiler__` which identifies the compiler used to compile
208 TensorFlow's core.
209* Improved multi-threaded performance of `batch_matmul`.
Eugene Brevdo21e1cc72016-08-11 21:45:39 -0800210* LSTMCell, BasicLSTMCell, and MultiRNNCell constructors now default to
211 `state_is_tuple=True`. For a quick fix while transitioning to the new
212 default, simply pass the argument `state_is_tuple=False`.
Vijay Vasudevan2d0d1262016-08-08 14:06:20 -0800213* DeviceFactory's AddDevices and CreateDevices functions now return
214 a Status instead of void.
A. Unique TensorFlower84cefad2016-08-12 07:06:13 -0800215* Int32 elements of list(type) arguments are no longer placed in host memory by
216 default. If necessary, a list(type) argument to a kernel can be placed in host
217 memory using a HostMemory annotation.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800218* `uniform_unit_scaling_initializer()` no longer takes a `full_shape` arg,
219 instead relying on the partition info passed to the initializer function when
220 it's called.
221* The NodeDef protocol message is now defined in its own file `node_def.proto`
222 `instead of graph.proto`.
223* `ops.NoGradient` was renamed `ops.NotDifferentiable`. `ops.NoGradient` will
Vijay Vasudevan612bae72016-09-09 11:03:09 -0800224 be removed soon.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800225* `dot.h` / DotGraph was removed (it was an early analysis tool prior
Vijay Vasudevan269bfee2016-09-21 21:41:19 -0800226 to TensorBoard, no longer that useful). It remains in history
227 should someone find the code useful.
Vijay Vasudevan914625a2016-09-23 13:51:34 -0800228* re2 / regexp.h was removed from being a public interface of TF.
229 Should users need regular expressions, they should depend on the RE2
230 library directly rather than via TensorFlow.
Dan Manée5bcf542016-05-16 13:39:34 -0800231
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800232## Thanks to our Contributors
233
234This release contains contributions from many people at Google, as well as:
235
236Abid K, @afshinrahimi, @AidanGG, Ajay Rao, Aki Sukegawa, Alex Rothberg,
237Alexander Rosenberg Johansen, Andrew Gibiansky, Andrew Thomas, @Appleholic,
238Bastiaan Quast, Ben Dilday, Bofu Chen, Brandon Amos, Bryon Gloden, Cissp®,
239@chanis, Chenyang Liu, Corey Wharton, Daeyun Shin, Daniel Julius Lasiman, Daniel
240Waterworth, Danijar Hafner, Darren Garvey, Denis Gorbachev, @DjangoPeng,
241Egor-Krivov, Elia Palme, Eric Platon, Fabrizio Milo, Gaetan Semet,
242Georg Nebehay, Gu Wang, Gustav Larsson, @haosdent, Harold Cooper, Hw-Zz,
243@ichuang, Igor Babuschkin, Igor Macedo Quintanilha, Ilya Edrenkin, @ironhead,
244Jakub Kolodziejczyk, Jennifer Guo, Jihun Choi, Jonas Rauber, Josh Bleecher
245Snyder, @jpangburn, Jules Gagnon-Marchand, Karen Brems, @kborer, Kirill Bobyrev,
246Laurent Mazare, Longqi Yang, Malith Yapa, Maniteja Nandana, Martin Englund,
247Matthias Winkelmann, @mecab, Mu-Ik Jeon, Nand Dalal, Niels Ole Salscheider,
248Nikhil Mishra, Park Jiin, Pieter De Rijk, @raix852, Ritwik Gupta, Sahil Sharma,
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -0800249Sangheum Hwang, @SergejsRk, Shinichiro Hamaji, Simon Denel, @Steve, @suiyuan2009,
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800250Tiago Jorge, Tijmen Tieleman, @tvn, @tyfkda, Wang Yang, Wei-Ting Kuo, Wenjian
251Huang, Yan Chen, @YenChenLin, Yuan (Terry) Tang, Yuncheng Li, Yunfeng Wang, Zack
252Polizzi, @zhongzyd, Ziming Dong, @perhapszzy
253
254We are also grateful to all who filed issues or helped resolve them, asked and
255answered questions, and were part of inspiring discussions.
256
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800257# Release 0.10.0
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800258
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800259## Major Features and Improvements
260
261* Added support for C++ shape inference
262* Added graph-construction C API
263* Major revision to the graph-construction C++ API
264* Support makefile build for iOS
265* Added Mac GPU support
266* Full version of TF-Slim available as `tf.contrib.slim`
267* Added k-Means clustering and WALS matrix factorization
268
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800269## Bug Fixes and Other Changes
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800270
271* Allow gradient computation for scalar values.
272* Performance improvements for gRPC
273* Improved support for fp16
274* New high-level ops in tf.contrib.{layers,metrics}
275* New features for TensorBoard, such as shape display, exponential smoothing
276* Faster and more stable Google Cloud Storage (GCS) filesystem support
277* Support for zlib compression and decompression for TFRecordReader and TFRecordWriter
278* Support for reading (animated) GIFs
279* Improved support for SparseTensor
280* Added support for more probability distributions (Dirichlet, Beta, Bernoulli, etc.)
281* Added Python interfaces to reset resource containers.
282* Many bugfixes and performance improvements
283* Many documentation fixes
284
285## Thanks to our Contributors
286
287This release contains contributions from many people at Google, as well as:
288
289Alex 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
290
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800291We are also grateful to all who filed issues or helped resolve them, asked and
292answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800293
294# Release 0.9.0
295
296## Major Features and Improvements
297
298* Python 3.5 support and binaries
299* Added iOS support
300* Added support for processing on GPUs on MacOS
301* Added makefile for better cross-platform build support (C API only)
302* fp16 support and improved complex128 support for many ops
303* Higher level functionality in contrib.{layers,losses,metrics,learn}
304* More features to Tensorboard
305* Improved support for string embedding and sparse features
306* The RNN api is finally "official" (see, e.g., `tf.nn.dynamic_rnn`,
307 `tf.nn.rnn`, and the classes in `tf.nn.rnn_cell`).
308* TensorBoard now has an Audio Dashboard, with associated audio summaries.
309
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800310## Bug Fixes and Other Changes
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800311
312* Turned on CuDNN Autotune.
313* Added support for using third-party Python optimization algorithms (contrib.opt).
314* Google Cloud Storage filesystem support.
315* HDF5 support
316* Add support for 3d convolutions and pooling.
317* Update gRPC release to 0.14.
318* Eigen version upgrade.
319* Switch to eigen thread pool
320* `tf.nn.moments()` now accepts a `shift` argument. Shifting by a good estimate
321 of the mean improves numerical stability. Also changes the behavior of the
322 `shift` argument to `tf.nn.sufficient_statistics()`.
323* Performance improvements
324* Many bugfixes
325* Many documentation fixes
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800326* TensorBoard fixes: graphs with only one data point, Nan values,
327 reload button and auto-reload, tooltips in scalar charts, run
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800328 filtering, stable colors
329* Tensorboard graph visualizer now supports run metadata. Clicking on nodes
330 while viewing a stats for a particular run will show runtime statistics, such
331 as memory or compute usage. Unused nodes will be faded out.
332
333## Thanks to our Contributors
334
335This release contains contributions from many people at Google, as well as:
336
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800337Aaron 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 -0800338
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800339We are also grateful to all who filed issues or helped resolve them, asked and
340answered questions, and were part of inspiring discussions.
Vijay Vasudevan490afa92016-06-21 09:18:06 -0800341
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800342# Release 0.8.0
343
344## Major Features and Improvements
345
346* Added a distributed runtime using GRPC
347* Move skflow to `contrib/learn`
348* Better linear optimizer in `contrib/linear_optimizer`
349* Random forest implementation in `contrib/tensor_forest`
350* CTC loss and decoders in `contrib/ctc`
351* Basic support for `half` data type
352* Better support for loading user ops (see examples in `contrib/`)
353* Allow use of (non-blocking) Eigen threadpool with `TENSORFLOW_USE_EIGEN_THREADPOOL` define
354* Add an extension mechanism for adding network file system support
355* TensorBoard displays metadata stats (running time, memory usage and device used) and tensor shapes
356
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800357## Bug Fixes and Other Changes
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800358
359* Utility for inspecting checkpoints
360* Basic tracing and timeline support
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800361* Allow building against cuDNN 5 (not incl. RNN/LSTM support)
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800362* Added instructions and binaries for ProtoBuf library with fast serialization and without 64MB limit
363* Added special functions
Dan Mané54a71782016-09-09 16:07:46 -0800364* `bool`-strictness: Tensors have to be explicitly compared to `None`
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800365* Shape strictness: all fed values must have a shape that is compatible with the tensor they are replacing
366* Exposed `tf.while_loop` (deprecated `control_flow_ops.While`)
367* run() now takes RunOptions and RunMetadata, which enable timing stats
368* Fixed lots of potential overflow problems in op kernels
369* Various performance improvements, especially for RNNs and convolutions
370* Many bugfixes
371* Nightly builds, tutorial tests, many test improvements
372* New examples: transfer learning and deepdream ipython notebook
373* Added tutorials, many documentation fixes.
374
375## Thanks to our Contributors
376
377This release contains contributions from many people at Google, as well as:
378
A. Unique TensorFlowerabe9ab32016-07-31 22:07:30 -0800379Abhinav 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 -0800380
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800381We are also grateful to all who filed issues or helped resolve them, asked and
382answered questions, and were part of inspiring discussions.
Illia Polosukhin5c9bc512016-04-18 17:56:51 -0800383
384
Eugene Brevdo56f1d642016-03-10 17:18:30 -0800385# Release 0.7.1
386
387## Bug Fixes and Other Changes
388
389* Added gfile.Open and gfile.Copy, used by input_data.py.
390* Fixed Saver bug when MakeDirs tried to create empty directory.
391* GPU Pip wheels are built with cuda 7.5 and cudnn-v4, making them
392 required for the binary releases. Lower versions of cuda/cudnn can
393 be supported by installing from sources and setting the options
394 during ./configure
395* Fix dataset encoding example for Python3 (@danijar)
396* Fix PIP installation by not packaging protobuf as part of wheel,
397 require protobuf 3.0.0b2.
398* Fix Mac pip installation of numpy by requiring pip >= 1.10.1.
399* Improvements and fixes to Docker image.
400
401
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800402# Release 0.7.0
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800403
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800404## Major Features and Improvements
405
406* Allow using any installed Cuda >= 7.0 and cuDNN >= R2, and add support
407 for cuDNN R4
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800408* Added a `contrib/` directory for unsupported or experimental features,
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800409 including higher level `layers` module
410* Added an easy way to add and dynamically load user-defined ops
411* Built out a good suite of tests, things should break less!
412* Added `MetaGraphDef` which makes it easier to save graphs with metadata
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800413* Added assignments for "Deep Learning with TensorFlow" udacity course
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800414
415
416## Bug Fixes and Other Changes
417
418* Added a versioning framework for `GraphDef`s to ensure compatibility
419* Enforced Python 3 compatibility
420* Internal changes now show up as sensibly separated commits
421* Open-sourced the doc generator
422* Un-fork Eigen
423* Simplified the `BUILD` files and cleaned up C++ headers
424* TensorFlow can now be used as a submodule in another bazel build
425* New ops (e.g., `*fft`, `*_matrix_solve`)
426* Support for more data types in many ops
427* Performance improvements
428* Various bugfixes
429* Documentation fixes and improvements
430
431
432## Breaking Changes to the API
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -0800433
434* `AdjustContrast` kernel deprecated, new kernel `AdjustContrastv2` takes and
435 outputs float only. `adjust_contrast` now takes all data types.
436* `adjust_brightness`'s `delta` argument is now always assumed to be in `[0,1]`
437 (as is the norm for images in floating point formats), independent of the
438 data type of the input image.
439* The image processing ops do not take `min` and `max` inputs any more, casting
440 safety is handled by `saturate_cast`, which makes sure over- and underflows
441 are handled before casting to data types with smaller ranges.
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -0800442* For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
443 `TensorShapeUtils` since TensorFlow is scalar strict within Google (for
444 example, the shape argument to `tf.reshape` can't be a scalar anymore). The
445 open source release was already scalar strict, so outside Google `IsScalar`
446 and `IsVector` are exact replacements.
Josh Levenbergdb7478e2016-01-20 14:54:50 -0800447* The following files are being removed from `tensorflow/core/public/`:
448 * `env.h` -> `../platform/env.h`
449 * `status.h` -> `../lib/core/status.h`
450 * `tensor.h` -> `../framework/tensor.h`
451 * `tensor_shape.h` -> `../framework/tensor_shape.h`
452 * `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
453 * `tensorflow_server.h` deleted
Geoffrey Irving56437752016-01-25 09:43:13 -0800454* For C++ API users: `TensorShape::ShortDebugString` has been renamed to
455 `DebugString`, and the previous `DebugString` behavior is gone (it was
456 needlessly verbose and produced a confusing empty string for scalars).
Manjunath Kudlurc2722a12016-01-27 13:24:50 -0800457* `GraphOptions.skip_common_subexpression_elimination` has been removed. All
458 graph optimizer options are now specified via
459 `GraphOptions.OptimizerOptions`.
Geoffrey Irving18297122016-02-10 11:48:34 -0800460* `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
461 were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
462 currently maintained for short-term compatibility but will be removed.
Eugene Brevdofea55e12016-01-27 14:54:54 -0800463* The non-public `nn.rnn` and the various `nn.seq2seq` methods now return
464 just the final state instead of the list of all states.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800465* `tf.scatter_update` now no longer guarantees that lexicographically largest
466 index be used for update when duplicate entries exist.
Geoffrey Irving3e33d442016-02-08 12:02:44 -0800467* `tf.image.random_crop(image, [height, width])` is now
468 `tf.random_crop(image, [height, width, depth])`, and `tf.random_crop` works
469 for any rank (not just 3-D images). The C++ `RandomCrop` op has been replaced
470 with pure Python.
Geoffrey Irving18297122016-02-10 11:48:34 -0800471* Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
472 `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
473 compatibility.
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800474* `parse_example`'s interface has changed, the old interface is accessible in
475 `legacy_parse_example` (same for related functions).
476* New `Variable`s are not added to the same collection several times even if
477 a list with duplicates is passed to the constructor.
Josh Levenberg02dff6d2016-01-07 18:37:54 -0800478* The Python API will now properly set the `list` member of `AttrValue` in
479 constructed `GraphDef` messages for empty lists. The serialization of some
480 graphs will change, but the change is both forwards and backwards compatible.
481 It will break tests that compare a generated `GraphDef` to a golden serialized
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800482 `GraphDef` (which is discouraged).
483
484
485## Thanks to our Contributors
486
487This release contains contributions from many people at Google, as well as:
488
489Akiomi Kamakura, Alex Vig, Alexander Rosenberg Johansen, Andre Cruz, Arun Ahuja,
490Bart Coppens, Bernardo Pires, Carl Vondrick, Cesar Salgado, Chen Yu,
491Christian Jauvin, Damien Aymeric, Dan Vanderkam, Denny Britz, Dongjoon Hyun,
492Eren Güven, Erik Erwitt, Fabrizio Milo, G. Hussain Chinoy, Jim Fleming,
493Joao Felipe Santos, Jonas Meinertz Hansen, Joshi Rekha, Julian Viereck,
494Keiji Ariyama, Kenton Lee, Krishna Sankar, Kristina Chodorow, Linchao Zhu,
495Lukas Krecan, Mark Borgerding, Mark Daoust, Moussa Taifi,
496Nathan Howell, Naveen Sundar Govindarajulu, Nick Sweeting, Niklas Riekenbrauck,
497Olivier Grisel, Patrick Christ, Povilas Liubauskas, Rainer Wasserfuhr,
498Romain Thouvenin, Sagan Bolliger, Sam Abrahams, Taehoon Kim, Timothy J Laurent,
499Vlad Zavidovych, Yangqing Jia, Yi-Lin Juang, Yuxin Wu, Zachary Lipton,
500Zero Chen, Alan Wu, @brchiu, @emmjaykay, @jalammar, @Mandar-Shinde,
501@nsipplswezey, @ninotoshi, @panmari, @prolearner and @rizzomichaelg.
502
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800503We are also grateful to all who filed issues or helped resolve them, asked and
504answered questions, and were part of inspiring discussions.
Josh Levenberg02dff6d2016-01-07 18:37:54 -0800505
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -0800506
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800507# Release 0.6.0
508
509## Major Features and Improvements
510
511* Python 3.3+ support via changes to python codebase and ability
512 to specify python version via ./configure.
513
514* Some improvements to GPU performance and memory usage:
515 [convnet benchmarks](https://github.com/soumith/convnet-benchmarks/issues/66)
516 roughly equivalent with native cudnn v2 performance. Improvements mostly due
517 to moving to 32-bit indices, faster shuffling kernels. More improvements to
518 come in later releases.
519
520
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800521## Bug Fixes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800522
523* Lots of fixes to documentation and tutorials, many contributed
524 by the public.
525
526* 271 closed issues on github issues.
527
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800528## Backwards-Incompatible Changes
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800529
Geoffrey Irving18297122016-02-10 11:48:34 -0800530* `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion'
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -0800531 attribute from 0.0 to 1.0. This was a bug in the original release
532 that is now fixed.
533
Vijay Vasudevanddd4aaf2015-12-08 09:58:59 -0800534# Release 0.5.0
535
536Initial release of TensorFlow.