How to make two tensor dimensions the same

if I have two tensor A and B,A= [1,128,4,6,6],B= [1,96,4,6,6],How to make the dimension of A the same as B,I don’t know if we can use the convolution operation

Does A and B u specified in the question represent the shapes of the actual A and B or are they the actual A and B?

A and B are the actual sizes in the network, that is, the one mentioned above.

That’s alota dimensions u got there😑

Can u tell me the context of ur data, like is it a 3d CAD model or sth else?
Also what does each dimension represent?