Skip to content

Conversation

@dan-zheng
Copy link
Contributor

Move public APIs from CompilerRuntime.swift to new file Execution.swift.
This clearly separates user-exposed public functions from compiler internals.

This separation also benefits jazzy API doc generation: jazzy can simply
skip doc generation for the entire CompilerRuntime.swift file. Otherwise,
per-declaration /// :nodoc: annotations would be necessary for skipping
documentation.

Move public APIs from `CompilerRuntime.swift` to new file `Execution.swift`.
This clearly separates user-exposed public functions from compiler internals.

This separation also benefits `jazzy` API doc generation: `jazzy` can simply
skip doc generation for the entire `CompilerRuntime.swift` file. Otherwise,
per-declaration `/// :nodoc:` annotations would be necessary for skipping
documentation.
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Mar 1, 2019
@dan-zheng dan-zheng requested review from mhong and rxwei March 1, 2019 23:34
Copy link
Contributor

@rxwei rxwei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link

@mhong mhong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@rxwei rxwei merged commit 25cfb40 into swiftlang:tensorflow Mar 2, 2019
rxwei pushed a commit to rxwei/swift that referenced this pull request May 11, 2019
* [Doc] Move public TensorFlow runtime APIs to new file.

Move public APIs from `CompilerRuntime.swift` to new file `Execution.swift`.
This clearly separates user-exposed public functions from compiler internals.

This separation also benefits `jazzy` API doc generation: `jazzy` can simply
skip doc generation for the entire `CompilerRuntime.swift` file. Otherwise,
per-declaration `/// :nodoc:` annotations would be necessary for skipping
documentation.

* Add clarification comment to `CompilerRuntime.swift`.

Address feedback from @mhong.

* Improve clarification comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tensorflow This is for "tensorflow" branch PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants