How to write Swift in Google Colabs?

Viewed 169

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.

1 Answers

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

Related