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

Invalid Syntax in kfac.py ? #23

Closed
shinshiner opened this issue Nov 14, 2017 · 2 comments
Closed

Invalid Syntax in kfac.py ? #23

shinshiner opened this issue Nov 14, 2017 · 2 comments

Comments

@shinshiner
Copy link

I've tried to run this code, but it encountered SyntaxError: invalid syntax in line 44 of kfac.py, namely return a.t()@(a / batch_size). Both python2.7 and python3.4 have this problem. Are there any solutions?

@ikostrikov
Copy link
Owner

@ operator for matrix multiplications was introduced in python 3.5.

@shinshiner
Copy link
Author

Oh, thank you. I think I need to get python3.5 :)

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

2 participants