kotlindl
kotlindl copied to clipboard
Multiplatform support
I think multiplatform support would quite useful. I assume this has been discussed already but there is no Github issue for it.
Use cases:
- Some Kotlin code targets only certain native platforms or only JS (in the future I think only WASM will be quite common) and it would be nice to be able to use this library from those projects.
- For multiplatform programs that do any kind of on device ML.
Since Tensforflow already has APIs for these other platforms it seems like implementing multiplatform support should be fairly straight forward.
@zjuhasz Agree with this idea, it's a good plan for the very far future. I'm a big expert in Multiplatform, but TFJS looks very interesting and has the TF API and a different back-ends.
This half of year, I suppose we will work on Kotlin on JVM part only, But I hope we will return to this feature request to exmperiment with that after a few releases.
You can probably use multiplatform tensor API in KMath. We plan to add additional backends in the future.
@zaleslaw I am just wondering if you guys Kotlin experts have started working on Multiplatform support for kotlindl? Thanks!