Can I use Kotlin for that purpose or it’s possible only with Java?
Yep. All Java code is fairly easy to use from Kotlin: https://kotlinlang.org/docs/reference/java-interop.html . That includes the PyTorch Java bindings. We’ve tested it out briefly, and they seem to work fine, so let us know if you run into any trouble!
3 Likes