Skip to content

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