This library is a Kotlin API for https://www.tensorflow.org. It attempts to provide most of the functionality provided by the official Python API, while at the same type being strongly-typed and adding some new features. It is a work in progress and primarily for research purposes.
Please refer to the main website https://tfk.dev for documentation and tutorials. Here are some useful links to get started:
If you have any questions or would like to contribute, please feel free to contact the project maintainer, Matt Moore, at matt@mattmoore.io.
This library is in its infancy. I am currently tinkering with many different ideas, some of which make their way into this repo. This project will involve a lot of work. As you'll see, I really have just a basic example of running a pre-trained model, which many tutorials around the web have already demonstrated.
I am currently examining the best way to design this project. While my focus here is on Kotlin JVM and eventually Native, I would like to build this in a platform and language-agnostic way so that other languages can make use of it.
Additionally, while this project is all about bringing TensorFlow to Kotlin, my ultimate goal is to build a full ML tool, including functionality for preparing and managing your data. Likely this repo will focus on the core TensorFlow capabilities and I will probably spin up another repo for the rest of the ML toolkit to make use of this library.
git clone
this project../gradlew build
. To run tests:./gradlew test
.