< >
Home » Turbot-DL入门教程 » Turbot-DL入门教程篇-深度学习框架Theano验证例子

Turbot-DL入门教程篇-深度学习框架Theano验证例子

Turbot-DL入门教程篇-深度学习框架Theano验证例子

说明:

  • 介绍如何在Turbot-DL安装深度学习框架Theano验证例子

环境:

  • Python 2.7.12

测试:

  • 新建目录examples
$ mkdir examples
$ cd examples
  • 新建文件,进行简单计算 X+Y=Z
$ vim test.py 
  • 内容如下:
import theano.tensor as T
from theano import function

x=T.dscalar('x')
y=T.dscalar('y')
z=x+y 
f=function([x,y],z)
print f(2,3)  
  • 运行:
$ python test.py
  • 结果输出:
5.0 

参考:

  • http://deeplearning.net/software/theano/install_ubuntu.html
  • http://www.it610.com/article/4914925.htm
  • http://machinelearningmastery.com/introduction-python-deep-learning-library-theano/
  • https://github.com/gskielian/NVidia-Jetson-TK1-Setup-Scripts/blob/master/installTheano.sh
  • https://devtalk.nvidia.com/default/topic/990088/using-theano-with-cudnn-on-a-jetson-tx1/
  • https://read01.com/RnjJak.html
  • http://www.jetsonhacks.com/2015/06/07/thesis-3d-object-recognition-on-jetson-tk1-with-point-cloud-library/

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: turbot-dl入门教程篇