TensorFlow 1.7.0
Release 1.7.0
Major Features And Improvements
- Eager mode is moving out of contrib, try
tf.enable_eager_execution(). - Graph rewrites emulating fixed-point quantization compatible with TensorFlow Lite, supported by new
tf.contrib.quantizepackage. - Easily customize gradient computation with
tf.custom_gradient. - TensorBoard Debugger Plugin, the graphical user interface (GUI) of TensorFlow Debugger (tfdbg), is now in alpha.
- Experimental support for reading a sqlite database as a
Datasetwith newtf.contrib.data.SqlDataset. - Distributed Mutex / CriticalSection added to
tf.contrib.framework.CriticalSection. - Better text processing with
tf.regex_replace. - Easy, efficient sequence input with
tf.contrib.data.bucket_by_sequence_length - Initial support for
tf.contrib.tensorrtthat enables native TensorRT in TensorFlow
Bug Fixes and Other Changes
- Accelerated Linear Algebra (XLA):
- Add
MaxPoolGradGradsupport for XLA - CSE pass from Tensorflow is now disabled in XLA.
- Add
tf.data:tf.data.Dataset- Add support for building C++ Dataset op kernels as external libraries, using the
tf.load_op_library()mechanism. Dataset.list_files()now shuffles its output by default.Dataset.shuffle(..., seed=tf.constant(0, dtype=tf.int64))now yields the same sequence of elements asDataset.shuffle(..., seed=0).
- Add support for building C++ Dataset op kernels as external libraries, using the
- Add
num_parallel_readsargument totf.data.TFRecordDataset.
tf.contrib:tf.contrib.bayesflow.halton_sequencenow supports randomization.- Add support for scalars in
tf.contrib.all_reduce. - Add
effective_sample_sizetotf.contrib.bayesflow.mcmc_diagnostics. - Add
potential_scale_reductiontotf.contrib.bayesflow.mcmc_diagnostics. - Add
BatchNormalization,Kumaraswamybijectors. - Deprecate
tf.contrib.learn. Please check contrib/learn/README.md for instructions on how to convert existing code. tf.contrib.data- Remove deprecated
tf.contrib.data.Dataset,tf.contrib.data.Iterator,tf.contrib.data.FixedLengthRecordDataset,tf.contrib.data.TextLineDataset, andtf.contrib.data.TFRecordDatasetclasses. - Added
bucket_by_sequence_length,sliding_window_batch, andmake_batched_features_dataset
- Remove deprecated
- Remove unmaintained
tf.contrib.ndlstm. You can find it externally at https://github.com/tmbarchive/tfndlstm. - Moved most of
tf.contrib.bayesflowto its own repo:tfp
- Other:
- tf.py_func now reports the full stack trace if an exception occurs.
- Integrate
TPUClusterResolverwith GKE's integration for Cloud TPUs. - Add a library for statistical testing of samplers.
- Add Helpers to stream data from the GCE VM to a Cloud TPU.
- Integrate ClusterResolvers with TPUEstimator.
- Unify metropolis_hastings interface with HMC kernel.
- Move LIBXSMM convolutions to a separate --define flag so that they are disabled by default.
- Fix
MomentumOptimizerlambda. - Reduce
tfp.layersboilerplate via programmable docstrings. - Add
auc_with_confidence_intervals, a method for computing the AUC and confidence interval with linearithmic time complexity. regression_headnow accepts customized link function, to satisfy the usage that user can define their own link function if thearray_ops.identitydoes not meet the requirement.- Fix
initialized_valueandinitial_valuebehaviors forResourceVariablescreated fromVariableDefprotos. - Add TensorSpec to represent the specification of Tensors.
- Constant folding pass is now deterministic.
- Support
float16dtypeintf.linalg.*. - Add
tf.estimator.export.TensorServingInputReceiverthat allowstf.estimator.Estimator.export_savedmodelto pass raw tensors to model functions.
Deprecations
- TensorFlow 1.7 may be the last time we support Cuda versions below 8.0.
Starting with TensorFlow 1.8 release, 8.0 will be the minimum supported
version. - TensorFlow 1.7 may be the last time we support cuDNN versions below 6.0.
Starting with TensorFlow 1.8 release, 6.0 will be the minimum supported
version.
Thanks to our Contributors
This release contains contributions from many people at Google, as well as:
4d55397500, Abe, Alistair Low, Andy Kernahan, Appledore, Ben, Ben Barsdell, Boris Pfahringer, Brad Wannow, Brett Koonce, Carl Thomé, cclauss, Chengzhi Chen, Chris Drake, Christopher Yeh, Clayne Robison, Codrut Grosu, Daniel Trebbien, Danny Goodman, David Goodwin, David Norman, Deron Eriksson, Donggeon Lim, Donny Viszneki, DosLin, DylanDmitri, Francisco Guerrero, Fred Reiss, gdh1995, Giuseppe, Glenn Weidner, gracehoney, Guozhong Zhuang, Haichen "Hc" Li, Harald Husum, harumitsu.nobuta, Henry Spivey, hsm207, Jekyll Song, Jerome, Jiongyan Zhang, jjsjann123, John Sungjin Park, Johnson145, JoshVarty, Julian Wolff, Jun Wang, June-One, Kamil Sindi, Kb Sriram, Kdavis-Mozilla, Kenji, lazypanda1, Liang-Chi Hsieh, Loo Rong Jie, Mahesh Bhosale, MandarJKulkarni, ManHyuk, Marcus Ong, Marshal Hayes, Martin Pool, matthieudelaro, mdfaijul, mholzel, Michael Zhou, Ming Li, Minmin Sun, Myungjoo Ham, MyungsungKwak, Naman Kamra, Peng Yu, Penghao Cen, Phil, Raghuraman-K, resec, Rohin Mohanadas, Sandeep N Gupta, Scott Tseng, seaotterman, Seo Sanghyeon, Sergei Lebedev, Ted Chang, Tim H, tkunic, Tod, vihanjain, Yan Facai (颜发才), Yin Li, Yong Tang, Yuan (Terry) Tang, Yukun Chen, Yusuke Yamada