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

Pytorch ver. 1.0 and the C++ Frontend #75

Closed
artem-hryb opened this issue Feb 28, 2019 · 2 comments
Closed

Pytorch ver. 1.0 and the C++ Frontend #75

artem-hryb opened this issue Feb 28, 2019 · 2 comments

Comments

@artem-hryb
Copy link

artem-hryb commented Feb 28, 2019

I am not sure that it is correct place to ask but Pytorch version 1.0 has the C++ Frontend Pytorch (that allows consuming all variety of neural network modules, optimization algorithms etc. in c++) . Is there easy way to automate c#<->c++ binding to it?

Basically what I am trying achieve is to use high level api of pytorch in C# like
torch::nll_loss torch::log_softmax or torch::nn::Linear etc.

@interesaaat
Copy link
Contributor

Hi @artem-hryb, please look here. I will try to submit a PR soon-ish so that you can start playing with it from the main TorchSharp repo. For the moment I am trying to port the API manually so that I can understand if there is any specific blocker. After that we will look on how to automate the process (suggestions are welcome if you already have some idea on how to achieve this!)

@interesaaat
Copy link
Contributor

Fixed in PR #80

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