HOME
home
About
home

Dot product와 Matmul의 차이

공사중
import numpy as np a = np.arange(24).reshape(2,3,4) b = np.arange(24).reshape(2,4,3) a.dot(b)
Python
복사
a @ b
Python
복사
b = np.arange(48).reshape(4,4,3)
Python
복사
a.dot(b)
Python
복사
a @ b
Python
복사