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

Thread-safe? #91

Closed
neil-119 opened this issue Oct 25, 2019 · 2 comments
Closed

Thread-safe? #91

neil-119 opened this issue Oct 25, 2019 · 2 comments
Labels

Comments

@neil-119
Copy link

Awesome library! I wanted to ask if the library is thread-safe? We've been wanting to use it in an ASP.NET application to train (very small) NNs on the fly.

@Sergio0694
Copy link
Owner

Hey, thank you for your feedback, glad you like the library!
Yes, if you run the training on the CPU it should be thread safe, though keep in mind that all CPU operations use Parallel.For behind the scenes, so if you spawn too many instances on your ASP.NET services you may have issues with too many parallel tasks running at once.
Let me know how it goes! 😄

@neil-119
Copy link
Author

neil-119 commented Oct 25, 2019

Awesome, will do 👍 Still a few weeks before I have to tackle this task, but looks like I found exactly what I needed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants