zhongkaifu / RNNSharp

RNNSharp is a toolkit of deep recurrent neural network which is widely used for many different kinds of tasks, such as sequence labeling, sequence-to-sequence and so on. It's written by C# language and based on .NET framework 4.6 or above versions. RNNSharp supports many different types of networks, such as forward and bi-directional network, sequence-to-sequence network, and different types of layers, such as LSTM, Softmax, sampled Softmax and others.
BSD 3-Clause "New" or "Revised" License
285 stars 92 forks source link

Using the library from .Net Core #35

Open gabrielkotev opened 7 years ago

gabrielkotev commented 7 years ago

I am struggling porting the library to .Net core. Is there something to keep in mind while doing so (adding some dependencies, etc )? Thanks for the help!

zhongkaifu commented 7 years ago

Hi @gabrielkotev

The only external dependency is System.Vectors for SIMD instruction. Actually, this lib is a part of .Net core, so it won't be a problem for your migration.

But I know some APIs maybe different between .Net framework and .Net Core, such as Stream classes, you may modify some code for it, but I think it's very easy to deal with them.

Thanks Zhongkai Fu

gabrielkotev commented 7 years ago

Hi @zhongkaifu Thanks for the quick answer! I have an compile issue inside the AdvUtils, the reason is the class ParallelOptions. Do you have any suggestions how to overcome it ? Thanks for your help!

zhongkaifu commented 7 years ago

AdvUtils is an open source project as well, you can modify it as your needs. For ParallelOptions, currently, I set its value explicitly, but you can delete it and let it use default value.