1. 程式人生 > >深度學習:tensorflow1.9.0

深度學習:tensorflow1.9.0

Major Features And Improvements

  • Updated docs for tf.keras: New Keras-based get started and programmers guide page.
  • Update tf.keras to the Keras 2.1.6 API.
  • Added tf.keras.layers.CuDNNGRU and tf.keras.layers.CuDNNLSTM layers. Try it.
  • Adding support of core feature columns and losses to gradient boosted trees estimators.
  • The python interface for the TFLite Optimizing Converter has been expanded, and the command line interface (AKA: toco, tflite_convert) is once again included in the standard pip installation.
  • Improved data-loading and text processing with:
    tf.decode_compressed
    tf.string_strip
    tf.strings.regex_full_match
  • Added experimental support for new pre-made Estimators:
    tf.contrib.estimator.BaselineEstimator
    tf.contrib.estimator.RNNClassifier
    tf.contrib.estimator.RNNEstimator
  • The distributions.Bijector API supports broadcasting for Bijectors with new API changes.

Breaking Changes

  • If you’re opening empty variable scopes; replace variable_scope(”, …) by variable_scope(tf.get_variable_scope(), …).
  • Headers used for building custom ops have been moved from site-packages/external into site-packages/tensorflow/include/external.

Bug Fixes and Other Changes

  • tfe.Network is deprecated. Please inherit from tf.keras.Model.

  • Layered variable names have changed in the following conditions:
    Using tf.keras.layers with custom variable scopes.
    Using tf.layers in a subclassed tf.keras.Model class. See here for more details

  • tf.data:
    Dataset.from_generator() now accepts an args list, in order to create nested generators.
    Dataset.list_files() now produces determinstic results when shuffle=False or a seed is passed.
    tf.contrib.data.sample_from_datasets() and tf.contrib.data.choose_from_datasets() make it easier to sample or deterministically choose elements from multiple datasets.
    tf.contrib.data.make_csv_dataset() now supports line breaks in quoted strings, and two infrequently used arguments removed.
    (C++) DatasetBase::DebugString() is now const.
    (C++) DatasetBase::MakeIterator() has been renamed to DatasetBase::MakeIteratorInternal().
    (C++) IteratorBase::Initialize() method was added to support raising errors during iterator construction.

    • Eager Execution:
      Added the ability to pause recording operations for gradient computation via tf.GradientTape.stop_recording.
      Updated documentation, introductory notebooks.
  • tf.keras:
    Move Keras code out of _impl folder and remove API files.
    tf.keras.Model.save_weights now saves in TensorFlow format by default.
    Enable dataset iterators to be passed to tf.keras.Model training/eval methods.

  • TensorFlow Debugger (tfdbg)
    Fix an issue in which the TensorBoard Debugger Plugin could not handle total source file size exceeding gRPC message size limit (4 MB).

  • tf.contrib:
    tf.contrib.framework.zero_initializer supports ResourceVariable.
    Adding “constrained_optimization” to tensorflow/contrib.

    • Other:
      Add GCS Configuration Ops.
      Changing signature of MakeIterator to enable propagating error status.
      KL divergence for two Dirichlet distributions.
      More consistent GcsFileSystem behavior for certain reads past EOF.
      Update benchmark for tf.scan to match ranges across eager and graph modes.
      Fixed bug in tf.reduce_prod gradient for complex dtypes.
      Allow the use of ‘.’ in variables (e.g. “hparams.parse(‘a.b=1.0’)”), which would previously raise an error. This will correspond to an attribute name with an embedded ‘.’ symbol (e.g. ‘a.b’), which can only be accessed indirectly (e.g. through getattr and setattr). To set this up the user will first need to explicitly add the variable to the hparam object (e.g. “hparams.add_hparam(name=’a.b’, value=0.0)”).
      Benchmark for tf.scan in graph and eager modes.
      Added complex128 support to FFT, FFT2D, FFT3D, IFFT, IFFT2D, and IFFT3D.
      Making ids unique in nn.embedding_lookup_sparse. This helps to reduce RPC calls for looking up the embeddings when there are repeated ids in the batch.
      Support indicator column in boosted trees.
      Prevent tf.gradients() from backpropagating through integer tensors.
      LinearOperator[1D,2D,3D]Circulant added to tensorflow.linalg.
      Conv3D, Conv3DBackpropInput, Conv3DBackpropFilter now supports arbitrary.
      Added tf.train.Checkpoint for reading/writing object-based checkpoints.
      Added LinearOperatorKronecker, a dense-free implementation of the Kronecker Product.
      Allow LinearOperator to broadcast.
      SavedModelBuilder will now deduplicate asset names that point to files with the same basename and the same contents. Note that this may result in new asset files included in SavedModels in cases where assets with the same name but different contents were previously overwriting each other.

相關推薦

深度學習tensorflow1.9.0

Major Features And Improvements Updated docs for tf.keras: New Keras-based get started and programmers guide page. Update tf.kera

學習 Android 9.0/P http 網路請求的問題

今天在網上看文章的時候看到了這一篇文章,說是Android9.0網路請求會有問題,然後好奇就仔細看了一下。看完之後感覺對自己以後可能有用處就寫這篇文章來記錄一下。以後用到的話可以拿來用一下。 為什麼特意注意了一下這篇文章呢,因為我們公司的請求一直用的是Http而不是用的Https,所以感覺以後升

深度學習環境搭建Tensorflow1.4.0+Ubuntu16.04+Python3.5+Cuda8.0+Cudnn6.0

edi tensor pkgs strong www url 輸出 軟鏈接 5.0 目錄 深度學習環境搭建:Tensorflow1.4.0+Ubuntu16.04+Python3.5+Cuda8.0+Cudnn6.0 Reference 硬件說明: 軟件準備: 1. 安

Python機器學習5.9 sklearn中的核PCA

sklearn 不同 圖片 html post 技術分享 posit src 數據 sklearn.decomposition中有核PCA的實現,看看怎麽用: 通過kernel參數設定不同的核函數。 將轉換後的數據可視化: Python機器學習中文版目錄(http://

深度學習原理與應用實踐》中文版PDF

應用 href 書籍 nag tex 原理 圖片 water images 下載:https://pan.baidu.com/s/1YljEeog_D0_RUHjV6hxGQg 《深度學習:原理與應用實踐》中文版PDF,帶目錄和書簽; 經典書籍,講解詳細; 如圖: 《深度學

Facebook宣佈釋出深度學習框架 PyTorch 1.0開發者預覽版

今日,Facebook 宣佈釋出深度學習框架 PyTorch 1.0 開發者預覽版,包括一些列工具和整合,使其與 Google Cloud、AWS、Azure 的機器學習服務更為相容。 ARM、Nvidia、高通、英特爾也在核心庫整合和跟蹤推理執行時的工具中添加了 PyTorch 支援。 &

深度學習YOLO系列

一、YOLO v1 (CVPR2016, oral) (You Only Look Once: Unified, Real-Time Object Detection) 可參考文章:https://zhuanlan.zhihu.com/p/27029015 Faster R-CNN的方法目前

深度學習keras學習

Keras TensorFlow教程 :如何從零開發一個複雜深度學習模型:https://segmentfault.com/a/1190000012645225 keras概念解釋:http://www.zhiding.cn/techwalker/documents/J9UpWRDfV

深度學習zero-shot-learning(四)_DAEZSL_2017

參考: https://www.leiphone.com/news/201810/STIq4kDL6mbIKUmH.html 論文地址:https://arxiv.org/pdf/1711.06167.pdf   問題:對映域遷移 (projection domain sh

深度學習卷積,反池化,反捲積,卷積可解釋性,CAM ,G_CAM

憑什麼相信你,我的CNN模型?(篇一:CAM和Grad-CAM):https://www.jianshu.com/p/1d7b5c4ecb93 憑什麼相信你,我的CNN模型?(篇二:萬金油LIME):http://bindog.github.io/blog/2018/02/11/model-ex

深度學習卷積神經網路,卷積,啟用函式,池化

卷積神經網路——輸入層、卷積層、啟用函式、池化層、全連線層 https://blog.csdn.net/yjl9122/article/details/70198357?utm_source=blogxgwz3 一、卷積層 特徵提取 輸入影象是32*32*3,3是它的深度(即R

深度學習多示例多標記學習DeepMIML

https://blog.csdn.net/m0_38034312/article/details/77995412 DeepMIML:https://blog.csdn.net/w5688414/article/details/78990301 多示例多標記的出現:真實的物件並不具有唯一的

分享《深入淺出深度學習原理剖析與python實踐》PDF+源代碼

img color fff png aid pdf ffffff pytho 下載 下載:https://pan.baidu.com/s/1H4N0W5sPOE7YlK0KyC7TZQ 更多資料分享:http://blog.51cto.com/3215120 《深入淺出深度

深度學習用於multinoulli輸出分佈的softmax單元

首先說明Bernoulli分佈對應sigmoid單元,Multinoulli分佈對應softmax單元。瞭解multinoulli分佈請看:機器學習:Multinoulli分佈與多項式分佈。 softmax函式可以看作sigmoid函式的擴充套件,其中sigmoid函式用來表示二值型變數的分

21個專案玩轉深度學習基於TensorFlow的實踐詳解03—打造自己的影象識別模型

書籍原始碼:https://github.com/hzy46/Deep-Learning-21-Examples CNN的發展已經很多了,ImageNet引發的一系列方法,LeNet,GoogLeNet,VGGNet,ResNet每個方法都有很多版本的衍生,tensorflow中帶有封裝好各方法和網路的函式

分享《21個項目玩轉深度學習基於TensorFlow的實踐詳解》PDF+源代碼

更多 技術分享 書籍 詳解 http alt ges text process 下載:https://pan.baidu.com/s/19GwZ9X2E20L3BykhoxhjTg 更多資料:http://blog.51cto.com/3215120 《21個項目玩轉深度學

深度學習深度信念網路(DBN)結構和訓練過程

深度信念網路在處理維數比較多的資料時,可以起到壓縮資料維度的作用。其經典結構為: DBN由多個RBM堆疊而成,訓練過程由預訓練和微調構成 深度信念網路訓練步驟: (1)預訓練:分別單獨無監督的訓練每一層RBM網路,確保特徵向量對映到不同特徵空間,都儘可能的保留特徵資訊;它通過一個非監督

《21個專案玩轉深度學習基於TensorFlow的實踐詳解》PDF+原始碼下載

1.本書以TensorFlow為工具,從基礎的MNIST手寫體識別開始,介紹了基礎的卷積神經網路、迴圈神經網路,還包括正處於前沿的對抗生成網路、深度強化學習等課題,程式碼基於TensorFlow 1.4.0 及以上版本。 2.書中所有內容由21個可以動手實驗的專案組織起來,並在其中穿插Te

《深入淺出深度學習原理剖析與python實踐》pdf 下載

深入淺出深度學習:原理剖析與Python實踐》介紹了深度學習相關的原理與應用,全書共分為三大部分,第一部分主要回顧了深度學習的發展歷史,以及Theano的使用;第二部分詳細講解了與深度學習相關的基礎知識,包括線性代數、概率論、概率圖模型、機器學習和至優化演算法;在第三部分中,針對若干核心的深度

《21個專案玩轉深度學習基於TensorFlow的實踐詳解》

下載:https://pan.baidu.com/s/1NYYpsxbWBvMn9U7jvj6XSw更多資料:http://blog.51cto.com/3215120《21個專案玩轉深度學習:基於TensorFlow的實踐詳解》PDF+原始碼PDF,378頁,帶書籤目錄,文字可以複製。配套原始碼。深度學習經