TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Swift for TensorFlow Design Overview

198 pointsby asparaguiabout 7 years ago

8 comments

sandGorgonabout 7 years ago
Whoa...The Python interoperability is incredible.<p>You can use numpy from swift..As well as load pickle files !<p><a href="https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;swift&#x2F;blob&#x2F;master&#x2F;docs&#x2F;DesignOverview.md#python-interoperability" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;swift&#x2F;blob&#x2F;master&#x2F;docs&#x2F;DesignO...</a>
__erikabout 7 years ago
At first I was fairly disappointed that Swift was chosen over Julia, and I still wish there was strong Julia support because Julia is a great language, but I&#x27;ve slowly been changing my mind and think Swift could be a really good choice long term.<p>I also just really like Chris&#x27; work and trust him to make the right calls until proven otherwise.
评论 #16936407 未加载
yodonabout 7 years ago
As a longtime fan of C#, this article and use case just pushed me from “why would anyone think they needed to invent Swift” to “wow that’s an extremely cool set of language design constraints!”
gokabout 7 years ago
&gt; Automatic differentiation in Swift is a compiler IR transformation implemented with static analysis.<p>Super cool to see this implemented at the language level like this.
AlexeyBrinabout 7 years ago
Given the fact that the vast majority of people is still on Windows, using Swift (with zero official support for Windows) will artificially limit the use of the project outside the circle of the original developers.<p>That being said, you can use Swift through WSL, but not directly on Windows.
评论 #16937525 未加载
waleedkaabout 7 years ago
Does Swift have a large community beyond iOS apps? Last I used it was years ago, right after it was introduced by Apple. I&#x27;m curious if it has found growth in other areas.
评论 #16936456 未加载
评论 #16936347 未加载
评论 #16938212 未加载
bitLabout 7 years ago
Still a bit more verbose than Python. What would you gain by doing the same in Swift actually? If you have to type more code to do some experiments, and still have to import Python libraries for extra functions as they do in that example, what&#x27;s the selling point? (beside it being cool)
评论 #16937940 未加载
评论 #16939212 未加载
评论 #16938960 未加载
Froyohabout 7 years ago
Swift for Tensorflow or Tensorflow for Swift?
评论 #16943306 未加载