Open weiliu89 opened 8 years ago
It seems there is no such API for now, but you can write a layer transforming from N x C x H x W to N x H x W x C
@freesouls Thanks. I have already implemented one by myself.
https://github.com/BVLC/caffe/commit/b68695db42aa79e874296071927536363fe1efbf
Great work, thanks for sharing!
@weiliu89 are you using it in the implementation of LSTM?
@weiliu89 your commit b68695d was somehow dropped, can't find it neither in BVLC/caffe/master nor in weiliu89/caffe/master. any idea what happend to it? is it only in ssd branch?
Yes. It is only in the ssd branch.
Is it possible to do a matlab-style permute for a blob in Caffe? For example, I want to change a blob with shape N x C x H x W to N x H x W x C.