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

respect -opencl argument and use proper torch.*Tensor() #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

allthetime
Copy link

Hey, this is the first line of Lua I've ever written, not sure style is correct but wanted to keep it concise.

This makes the library compatible with opencl by using the proper tensor function depending on the existence of the -opencl 1 argument.

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

Successfully merging this pull request may close these issues.

1 participant