-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
CNTK as a library with C++ APIs #175
Comments
We are working on "librarifying" CNTK to enable this from C++, Python, and .Net on Windows, and will also welcome community contributions for other languages. As of today, since CNTK is just a C++ program, it is technically possible to use its components from C++, and in the code you will already see some componentization (ComputationNetworkLib, SGDLib, readers), but those interfaces of these are currently not designed for general use (and have some historic baggage, too). So while you can do it (and some internal folks have done that), it is not recommended since those interfaces are going to change. I will close this request. Once we have externally usable components, it will be announced. |
Hi Frank, Regards, Od: Frank Seide notifications@github.com We are working on "librarifying" CNTK to enable this from C++, Python, and .Net on Windows, and will also welcome community contributions for other languages. As of today, since CNTK is just a C++ program, it is technically possible to use its components from C++, and in the code you will already see some componentization (ComputationNetworkLib, SGDLib, readers), but those interfaces of these are currently not designed for general use (and have some historic baggage, too). So while you can do it (and some internal folks have done that), it is not recommended since those interfaces are going to change. I will close this request. Once we have externally usable components, it will be announced. Reply to this email directly or view it on GitHubhttps://github.com//issues/175#issuecomment-190402134. |
Why was this issue closed? Is it a duplicate of some other issue? |
Yes, this is a common request, and we are well on track. Once this is ready, you won't be able to miss the announcement. |
Nice! :) What is the other issue (of which this is a duplicate)? |
Of which issue is this a duplicate? And how can you be sure I won't miss the announcement? I don't frequently visit this repository. That is why I want to know of which issue this is a duplicate, so I can subscribe to that issue. |
There is a (low-level) C++ API now. Here is an example |
Thank you! Od: Nikos Karampatziakis notifications@github.com There is a (low-level) C++ API now. Here is an examplehttps://github.com/Microsoft/CNTK/blob/master/Tests/UnitTests/V2LibraryTests/CifarResNet.cpp You are receiving this because you authored the thread. |
Hi,
CNTK works in "batch mode", but I also would like to use it as a library in a C++ program, where I could train, then perhaps change some parameters, generate new data, and then continue training etc. That could be useful for data augemntation and reinforced learning scenarios, for example.
I believe that it is impossible now, but do you consider it for future?
The text was updated successfully, but these errors were encountered: