The dimensions about the tensor of the weight descent direction

Hi!
I wanna know how many dimensions in the tensor of the weight descent direction?2-D or 4-D?If it is 4-D, if we want to transpose it ,which dimension should be transposed?
Ex:TIM%E5%9B%BE%E7%89%8720180523124221
TIM%E5%9B%BE%E7%89%8720180523124217