took me some time to figure out the needed libs and imports for getting the example to run - the example should mention this clearly:
https://github.com/Kotlin/kotlindl/blob/master/docs/create_your_first_nn.md
Getting TensorFlow to run from Kotlin on MacOS X ARM64 is another story... seems the only way is to compile it yourself:(