多语言展示
当前在线:1274今日阅读:145今日分享:43

如何才winPython的theano包建立符号矩阵

theano是Python语言中的神经网络编程常用的一个工具包,
工具/原料
1

winPython语言

2

theano工具包

3

win系统

方法/步骤
1

打开Python shell 即idle界面。open your Python shell (idle).

2

载入相关的工具包,代码如下:import numpyimport theano.tensor as Timport theano package and many subpackages to your terminal.

3

定义一个矩阵类型的符号数据类型,代码如下:x = T.dmatrix('x') dmatrix is the Type for matrices of doubles.

4

采用一下代码查看我们的数据类型:we can get the type through .type.

注意事项
1

如有疑问可以留言

2

分享可以使我们懂得更多

推荐信息