tensorflow / swift-apis

Swift for TensorFlow Deep Learning Library
Apache License 2.0
794 stars 133 forks source link

Move TensorFlow module out of stdlib and inject it into toolchains #488

Open dan-zheng opened 5 years ago

dan-zheng commented 5 years ago

Currently, tensorflow/swift-apis is cloned as an apple/swift build product and is built as part of the Swift standard library. (relevant CMake support)

However, we would like to move TensorFlow out of the stdlib and inject it into toolchains. This would involve:

We've investigated ad-hoc ways of doing the steps above, but it turns out SourceKit LSP has set up infrastructure for doing the same thing.

Todos

We can remove the stdlib CMake support for TensorFlow.

We can copy two files:

End result

We could also do these steps for the Python module and the Quote module.

rxwei commented 5 years ago

Randomly, I feel Swift JIRA would be a better fit for this issue, since no change in this repo is necessary for the intended task to complete.

dan-zheng commented 5 years ago

since no change in this repo is necessary for the intended task to complete.

Utilities/build-script-helper.py should be added to this repository, following the script-by-the same-name from SourceKit LSP.

rxwei commented 5 years ago

Ok, thanks for the context!