torch.mul() 두 행렬의 단순 곱 연산 ⇒ element wise 곱 (⊙) 같은 위치의 원소끼리 곱함 import torch a = torch.tensor([[2, 2], [3, 3]]) b = torch.tensor([[4, 4], [5, 5]]) torch.mul(a, b) # 출력 : tensor([[ 8, 8], # [15, 15]]) torch.matmul() 행렬 곱셈 broadcasting 가능 *broadcasting : 사이즈가 맞지 않아도 자동으로 맞춰 계산해주는 기능 import torch a = torch.tensor([[2, 2], [3, 3]]) b = torch.tensor([[4, 4], [5, 5]]) c = torch.tensor([[[2, 2], [2, 2]]]..