4 points · by zachgray · 8y ago · 1 comment
You can drop into the Swift + TensorFlow REPL with the following single command, provided you've got docker installed:
docker run --privileged --cap-add sys_ptrace -it --rm zachgrayio/swift-tensorflow-repl
From here, you can begin entering swift code and import and use TensorFlow! There's usage guides in the official repo, as well as in the dockerfile repo - it's here if you're curious: https://github.com/zachgrayio/swift-tensorflow-repl