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

Add Torch support. #6

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

Add Torch support. #6

wants to merge 2 commits into from

Conversation

se4u
Copy link

@se4u se4u commented Jul 4, 2017

Torch is a neural network library built using lua which is heavily used in machine learning community.
This PR adds partial support for torch's neural network api to the company-lua backend as this screenshot shows.

image

@ptrv
Copy link
Owner

ptrv commented Jul 4, 2017

Tanks for the PR!

In think there needs to be a new interpreter torch, so we don't include the torch completion when not using torch.

Please add torch to company-lua-interpreter as option and in lua/complete.lua, instead of adding torch and nn to the basic apis add another check for the case interpreter == "torch" and insert the two sources only in that case.

@se4u
Copy link
Author

se4u commented Jul 4, 2017

I added the torch interpreter.

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.

2 participants