Vijay Vasudevan | 10e62dc | 2015-12-11 23:03:16 -0800 | [diff] [blame] | 1 | # 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 Irving | cbff45c | 2016-01-12 08:06:56 -0800 | [diff] [blame] | 13 | * 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 Levenberg | db7478e | 2016-01-20 14:54:50 -0800 | [diff] [blame] | 18 | * 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 Irving | 5643775 | 2016-01-25 09:43:13 -0800 | [diff] [blame] | 25 | * 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 Kudlur | c2722a1 | 2016-01-27 13:24:50 -0800 | [diff] [blame] | 28 | * `GraphOptions.skip_common_subexpression_elimination` has been removed. All |
| 29 | graph optimizer options are now specified via |
| 30 | `GraphOptions.OptimizerOptions`. |
Geoffrey Irving | 1829712 | 2016-02-10 11:48:34 -0800 | [diff] [blame^] | 31 | * `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 Brevdo | fea55e1 | 2016-01-27 14:54:54 -0800 | [diff] [blame] | 34 | * 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 Irving | 3e33d44 | 2016-02-08 12:02:44 -0800 | [diff] [blame] | 36 | * `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 Irving | 1829712 | 2016-02-10 11:48:34 -0800 | [diff] [blame^] | 40 | * 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 Brevdo | fea55e1 | 2016-01-27 14:54:54 -0800 | [diff] [blame] | 43 | |
Vijay Vasudevan | 10e62dc | 2015-12-11 23:03:16 -0800 | [diff] [blame] | 44 | |
Josh Levenberg | 02dff6d | 2016-01-07 18:37:54 -0800 | [diff] [blame] | 45 | ## 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 Irving | cbff45c | 2016-01-12 08:06:56 -0800 | [diff] [blame] | 53 | |
Vijay Vasudevan | 2c3738d | 2015-12-08 14:55:13 -0800 | [diff] [blame] | 54 | # 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 Irving | 1829712 | 2016-02-10 11:48:34 -0800 | [diff] [blame^] | 77 | * `tf.nn.fixed_unigram_candidate_sampler` changed its default 'distortion' |
Vijay Vasudevan | 2c3738d | 2015-12-08 14:55:13 -0800 | [diff] [blame] | 78 | attribute from 0.0 to 1.0. This was a bug in the original release |
| 79 | that is now fixed. |
| 80 | |
Vijay Vasudevan | ddd4aaf | 2015-12-08 09:58:59 -0800 | [diff] [blame] | 81 | # Release 0.5.0 |
| 82 | |
| 83 | Initial release of TensorFlow. |