How to write Swift in Google Colabs?

I've seen that Colabs supports Swift now. However, I always get the same message whenever I try to run the most basic Swift code; even from available online examples.

As soon as I open one of this notebooks, I am greeted with this message:

Unrecognized runtime "swift"; defaulting to "python3"

Every Swift code that I try to run defaults to a syntax error. I hope someone here can help me. Thanks.

PS: I don't know if its of any use... but I am using a windows laptop and mozilla firefox.

Upvotes: 1

Views: 625

Answers (1)

Bob Smith
Bob Smith

Reputation: 38639

Swift for TensorFlow was cancelled in early 2021. It's no longer supported.

Upvotes: 1

Related Questions