小编Gav*_*ray的帖子

Tensorflow:3D卷积NN的对角线Subtensor

Theano使用2D CNN变体的3D卷积神经网络(CNN)解决方法:

https://github.com/Theano/Theano/blob/master/theano/tensor/nnet/conv3d2d.py

它依赖于能够抓住矩阵的对角线并重塑它.从上面的网站:

So the relevant part of `x` is some matrix `u`. Suppose it has 7 rows
and 4 columns::
    [ 0 0 0 0 ]
    [ 0 0 0 0 ]
    [ 0 0 0 0 ]
    [ 0 0 0 0 ]
    [ 0 0 0 0 ]
    [ 0 0 0 0 ]

The view returned by this function is also a matrix. It is a thick,
diagonal `stripe` across u that discards the lower …
Run Code Online (Sandbox Code Playgroud)

python machine-learning theano tensorflow

5
推荐指数
0
解决办法
831
查看次数

标签 统计

machine-learning ×1

python ×1

tensorflow ×1

theano ×1