Are Tensors column major or row major?
I’m porting some code from Caffe which column major and it would be helpful to know if torch is similarly column major or is row major.
mattmacy
Torch Tensors are row-major.
smth
fmassa
This “deformation_layer” isn’t part of upstream Caffe, so maybe it’s only their code to make the use of BLAS cleaner. top[0]->Reshape( out_shape);
mattmacy