tensorflow / swift

Swift for TensorFlow
https://tensorflow.org/swift
Apache License 2.0
6.13k stars 608 forks source link

fix python interoperability notebook #406

Closed marcrasi closed 4 years ago

marcrasi commented 4 years ago

Colab treats the first line as a comment if it begins with "#". So adding any line above the "#if" line fixes it.

Fixes https://github.com/tensorflow/swift/issues/405.

review-notebook-app[bot] commented 4 years ago

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.

Kshitij09 commented 4 years ago

This does solve the issue. Will try doing the same while dealing with conditional blocks.