theano中的vector和dvector
生活随笔
收集整理的這篇文章主要介紹了
theano中的vector和dvector
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
>>> x = T.dvector('x')
>>> type(x)
<class 'theano.tensor.var.TensorVariable'>
>>> x = T.vector('x')
>>> type(x)
<class 'theano.tensor.var.TensorVariable'>
結論:是完全一模一樣的兩個東西
總結
以上是生活随笔為你收集整理的theano中的vector和dvector的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Gauss-Newton算法代码详细解释
- 下一篇: Cython与CPython的区别