theano documentation 閱讀筆記

來源:互聯網
上載者:User

標籤:des   style   color   cti   for   io   

作為協助學習的工具

 

目標:較好地清楚地掌握theano的知識結構

學習內容:theano documentation 0.6,主要看tutorial 與 library ,看2遍以上。

學習時間6.29-6.30,(6.31也許需要完善下DAMS project的事)6.32-6.33 一共4天,大約40小時+。

 

這次是精讀

1. install還需要搞定的是BLAS GPU-support

2. import pack 是把pack聲明在當前環境,引用pack的內容需要pack.xxx

    from pack import *是把pack內部全在當前環境聲明,引用需要xxx.

    import X as T

    numpy很需要學習 broadcasting


   tutorial解釋不是自滿足的,不知是我對python的知識缺失還是library的知識:so should read both.

-5.4.4

   theano是物件導向的;

   function是一個核心函數。

   randomstream 理解不好。

-5.4.5

graph structures built with variable nodes, op nodes and apply nodes.

一件重要的事是怎麼通過一些函數去遍曆graph,意思是graph的點和線分別代表什麼(類與函數),但是我對類與函數不熟悉。

graphstructure是核心的一個概念,能協助理解automatic differentition 與 optimiztions. 我不能理解p75面的圖。

畫出graph:theano.pp()-簡單  theano.printing.debugprint()-詳細     pydotprint()-png圖

-5.4.7 講述了一些求導計算的事

-5.4.8 configuration settings and compliing modes

config is a module of theano;

can be set in i)assignment to theano.config ii)assignment to theano.flags iii)assignment to .theanorc

mode 控制compliation的行為

-5.4.9 loading and saving

 開頭有句話"Python‘s stndard way of saving class instances are reloading them is the pickle mechanism"

我沒有相關的知識。“a limitation of pickle is that it does not save the code or data of a class along with the instance of the class being serialized".    

 大約書一種儲存壓縮手段:pickle,depickle就是解壓與loading.

5.4.10,5.4.11 conditions and loop

5.4.12 sparse mayrix

 

5.4.13 Using GPU

5.4.14 PyCUDA/CUDAMat/Gnumpy comptibility

5.4.15 Uderstanding Memory Aliasing for Speed and Correctness

5.4.16 How shape information is Handled by Theano

5.4.17 Debugging Theano:FAQ and Troubleshooting

5.4.18 Profiling Theano function

5.4.19 Extending Theano

5.4.20 FAQ

5.4.21 Python Memory Managment

5.4.22 Muti cores support in Theano

 

 

 

   

 

 

 

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.