blob: 3f3d66dc6e0fb4983cf13757b3723532da5677b5 [file] [log] [blame] [view]
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -08001# Changes since last release
2
3## Breaking changes to the API
4
5* `AdjustContrast` kernel deprecated, new kernel `AdjustContrastv2` takes and
6 outputs float only. `adjust_contrast` now takes all data types.
7* `adjust_brightness`'s `delta` argument is now always assumed to be in `[0,1]`
8 (as is the norm for images in floating point formats), independent of the
9 data type of the input image.
10* The image processing ops do not take `min` and `max` inputs any more, casting
11 safety is handled by `saturate_cast`, which makes sure over- and underflows
12 are handled before casting to data types with smaller ranges.
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -080013* For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
14 `TensorShapeUtils` since TensorFlow is scalar strict within Google (for
15 example, the shape argument to `tf.reshape` can't be a scalar anymore). The
16 open source release was already scalar strict, so outside Google `IsScalar`
17 and `IsVector` are exact replacements.
Josh Levenbergdb7478e2016-01-20 14:54:50 -080018* The following files are being removed from `tensorflow/core/public/`:
19 * `env.h` -> `../platform/env.h`
20 * `status.h` -> `../lib/core/status.h`
21 * `tensor.h` -> `../framework/tensor.h`
22 * `tensor_shape.h` -> `../framework/tensor_shape.h`
23 * `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
24 * `tensorflow_server.h` deleted
Geoffrey Irving56437752016-01-25 09:43:13 -080025* For C++ API users: `TensorShape::ShortDebugString` has been renamed to
26 `DebugString`, and the previous `DebugString` behavior is gone (it was
27 needlessly verbose and produced a confusing empty string for scalars).
Manjunath Kudlurc2722a12016-01-27 13:24:50 -080028* `GraphOptions.skip_common_subexpression_elimination` has been removed. All
29 graph optimizer options are now specified via
30 `GraphOptions.OptimizerOptions`.
Geoffrey Irving18297122016-02-10 11:48:34 -080031* `ASSERT_OK` / `EXPECT_OK` macros conflicted with external projects, so they
32 were renamed `TF_ASSERT_OK`, `TF_EXPECT_OK`. The existing macros are
33 currently maintained for short-term compatibility but will be removed.
Eugene Brevdofea55e12016-01-27 14:54:54 -080034* The non-public `nn.rnn` and the various `nn.seq2seq` methods now return
35 just the final state instead of the list of all states.
Geoffrey Irving3e33d442016-02-08 12:02:44 -080036* `tf.image.random_crop(image, [height, width])` is now
37 `tf.random_crop(image, [height, width, depth])`, and `tf.random_crop` works
38 for any rank (not just 3-D images). The C++ `RandomCrop` op has been replaced
39 with pure Python.
Geoffrey Irving18297122016-02-10 11:48:34 -080040* Renamed `tf.test.GetTempDir` and `tf.test.IsBuiltWithCuda` to
41 `tf.test.get_temp_dir` and `tf.test.is_built_with_cuda` for PEP-8
42 compatibility.
Eugene Brevdofea55e12016-01-27 14:54:54 -080043
Vijay Vasudevan10e62dc2015-12-11 23:03:16 -080044
Josh Levenberg02dff6d2016-01-07 18:37:54 -080045## Bug fixes
46
47* The Python API will now properly set the `list` member of `AttrValue` in
48 constructed `GraphDef` messages for empty lists. The serialization of some
49 graphs will change, but the change is both forwards and backwards compatible.
50 It will break tests that compare a generated `GraphDef` to a golden serialized
51 `GraphDef`.
52
Geoffrey Irvingcbff45c2016-01-12 08:06:56 -080053
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -080054# Release 0.6.0
55
56## Major Features and Improvements
57
58* Python 3.3+ support via changes to python codebase and ability
59 to specify python version via ./configure.
60
61* Some improvements to GPU performance and memory usage:
62 [convnet benchmarks](https://github.com/soumith/convnet-benchmarks/issues/66)
63 roughly equivalent with native cudnn v2 performance. Improvements mostly due
64 to moving to 32-bit indices, faster shuffling kernels. More improvements to
65 come in later releases.
66
67
68## Bug fixes
69
70* Lots of fixes to documentation and tutorials, many contributed
71 by the public.
72
73* 271 closed issues on github issues.
74
75## Backwards-incompatible changes
76
Geoffrey Irving18297122016-02-10 11:48:34 -080077* `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion'
Vijay Vasudevan2c3738d2015-12-08 14:55:13 -080078 attribute from 0.0 to 1.0. This was a bug in the original release
79 that is now fixed.
80
Vijay Vasudevanddd4aaf2015-12-08 09:58:59 -080081# Release 0.5.0
82
83Initial release of TensorFlow.