capsule-networks icon indicating copy to clipboard operation
capsule-networks copied to clipboard

@ operator

Open plenari opened this issue 5 years ago • 2 comments

hello,how does the operator @ work?

plenari avatar Dec 23 '19 12:12 plenari

@plenari well, it is a "matmul" operator. You may try something like this in the prompt:

a = np.array([[1, 2], [3, 4]])
print(a @ a)
#  The answer will be [[7, 10], [15, 22]]

XushengLee avatar Apr 15 '20 16:04 XushengLee

Thank you.

guotong1988 avatar Feb 15 '21 12:02 guotong1988