I have two classes, each one of them returns a tensor. In order to pass the tensor to the next function, it should be 3d (one dimension for the batch size). the first class retu