KotlinDL

KotlinDL supports deep learning model development through a high-level framework for Kotlin.

github.com/Kotlin/kotlindl
KotlinDL homepage screenshot

About KotlinDL

KotlinDL is a high-level deep learning API written in Kotlin and inspired by Keras. It runs on the TensorFlow Java API and the ONNX Runtime API for Java. The project provides simple APIs for training deep learning models from scratch, importing existing Keras and ONNX models for inference, and applying transfer learning to adapt pre-trained models to a specific task. The stated aim is to make deep learning easier for JVM and Android developers and to simplify deploying models in production environments.

The library is split into modules. The TensorFlow and dataset modules are available only for desktop JVM, while the other modules can also be used on Android. The homepage excerpt includes a Limitations section and a GPU section, but their contents are not included in the source text, so this entry does not describe them.

Key features

  • Training deep learning models from scratch using high-level Kotlin APIs
  • Importing existing Keras and ONNX models for inference
  • Transfer learning for tailoring pre-trained models to new tasks
  • Built on the TensorFlow Java API and ONNX Runtime for Java
  • Modular structure separating API, implementation, ONNX, TensorFlow, and visualization
  • Example LeNet convolutional network in Kotlin using compile, fit, and evaluate
Best for: JVM and Android developers who want to build, import, or deploy deep learning models in Kotlin.
Good for
  • Keras-inspired API design for Kotlin developers
  • Supports both training and inference workflows
  • Open source project with a public GitHub repository
Watch out for
  • The TensorFlow and dataset modules are available only for desktop JVM, not Android

KotlinDL at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

KotlinDL alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in ML Training & Optimization

Well-known listings from the same topic.

All 75

KotlinDL FAQ

Can KotlinDL be used on Android?
Modules other than kotlin-deeplearning-tensorflow and kotlin-deeplearning-dataset could also be used on Android. The TensorFlow and dataset modules are available only for desktop JVM.
Which model formats can KotlinDL import?
According to the homepage, KotlinDL can import existing Keras and ONNX models for inference.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing