batch1 shape: torch.Size([4, 4])
batch2 shape: torch.Size([4, 3])
dim=0: 오류 발생dim=1: cat_result shape: torch.Size([4, 7])dim=0: 오류 발생dim=1: 오류 발생batch1 shape: torch.Size([4, 3])
batch2 shape: torch.Size([4, 3])
dim=0: cat_result shape: torch.Size([8, 3])dim=1: cat_result shape: torch.Size([4, 6])dim=0: stack_result shape: torch.Size([2, 4, 3])dim=1: stack_result shape: torch.Size([4, 2, 3])
dim = k 일때 k차원을 이어붙힌다고 생각할것.dim = 1이므로 column에 이어붙힘.k 외 나머지 차원은 크기가 동일해야함!

dim = k 일때 k차원에 서로 겹쳐서 쌓는다고 생각할것.
ex)
a.shape = (2, 3)
b.shape = (2, 3) 일때
dim = 0일 경우: (4, 3) = (2 + 2, 3)
dim = 1일 경우: (2, 6) = (2 , 3 + 3)
