This is the code of my Swift for TensorFlow talk on @Swift Conf 2018.
The repo contains two examples.
install latest Swift for TensorFlow toolchain from: https://github.com/tensorflow/swift/blob/master/Installation.md
swift -O LC.swiftswift -O CF.swiftYou can check the keynote of the talk for more information.