Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ operator #34

Open
plenari opened this issue Dec 23, 2019 · 2 comments
Open

@ operator #34

plenari opened this issue Dec 23, 2019 · 2 comments

Comments

@plenari
Copy link

plenari commented Dec 23, 2019

hello,how does the operator @ work?

@XushengLee
Copy link

@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]]

@guotong1988
Copy link

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants