# Introducing Swift for Tensorflow

**URL:** <https://forums.swift.org/t/introducing-swift-for-tensorflow/11550>\
**Category:** Discussion\
**Created:** [March 31, 2018, 7:05pm UTC](https://forums.swift.org/t/introducing-swift-for-tensorflow/11550 "2018-03-31T19:05:05Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![rxwei](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/rxwei/32/664_2.png) [@rxwei](https://forums.swift.org/u/rxwei)\
**Post date:** [June 21, 2019, 5:15pm UTC](https://forums.swift.org/t/introducing-swift-for-tensorflow/11550/28 "2019-06-21T17:15:39Z")

</div>

The [TensorFlow library](https://github.com/tensorflow/swift-apis) is a SwiftPM package. It depends almost exclusively on the [differentiable programming feature](https://forums.swift.org/t/pre-pitch-swift-differentiable-programming-design-overview/25992), which we plan to push through Swift Evolution this year.

Assuming the differentiable programming feature had landed in master, the only other thing you need to compile `TensorFlow` package is to set up a `CTensorFlow` module map, which you can do with SwiftPM.

So in short, a fork of the compiler toolchain is not where we are headed in the long term. Instead, we try to push technologies to become included in the official Swift.

---

_[View the full topic](https://forums.swift.org/t/introducing-swift-for-tensorflow/11550)._
