I am using opencv4.1 under windows 7x64 with visual studio 2015 I am implementing code to one in C++. But it makes me confused that how to do this
out = out.reshape(3, out.shape[2], out.shape[3])
out = out.transpose(1, 2, 0)
in opencv C++ version?