Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit 37821ab

Browse files
Update branch references -> main (#577)
1 parent b7f74c3 commit 37821ab

26 files changed

+150
-150
lines changed

Diff for: BRANCHES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Notebooks on the `master` branch should be compatible with the toolchain that is
1+
Notebooks on the `main` branch should be compatible with the toolchain that is
22
released in Colab.
33

44
Make incompatible changes to notebooks in the `nightly-notebooks` branch. We
5-
promote `nightly-notebooks` to `master` when we deploy new toolchains to Colab.
5+
promote `nightly-notebooks` to `main` when we deploy new toolchains to Colab.

Diff for: Contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Everyone is welcome to contribute to Swift for TensorFlow. Contributing doesn't just mean submitting code - there are many different ways to get involved, including reporting bugs, improving documentation, writing models or tutorials, submitting deep learning building blocks, or participating in API and infrastructure design discussions.
44

5-
The Swift for TensorFlow community is guided by our [Code of Conduct](https://github.com/tensorflow/swift/blob/master/CODE_OF_CONDUCT.md), which we encourage everybody to read before participating.
5+
The Swift for TensorFlow community is guided by our [Code of Conduct](https://github.com/tensorflow/swift/blob/main/CODE_OF_CONDUCT.md), which we encourage everybody to read before participating.
66

77
## Report bugs
88

@@ -35,7 +35,7 @@ Follow the [code contribution workflow](#code-contribution-workflow) when contri
3535

3636
We discuss preliminary feature requests and ideas on the [mailing list](https://groups.google.com/a/tensorflow.org/forum/#!forum/swift). You can participate by sending your own feature requests and ideas to the mailing list, or by commenting on others' feature requests and ideas.
3737

38-
Once an idea has been fleshed out, the person or people driving it write a proposal and send it as a PR to the [proposals directory](https://github.com/tensorflow/swift/tree/master/proposals). Further discussion happens on that PR, and the PR gets merged if the design gets accepted. You can participate by proposing your own proposals, or by commenting on others' proposals.
38+
Once an idea has been fleshed out, the person or people driving it write a proposal and send it as a PR to the [proposals directory](https://github.com/tensorflow/swift/tree/main/proposals). Further discussion happens on that PR, and the PR gets merged if the design gets accepted. You can participate by proposing your own proposals, or by commenting on others' proposals.
3939

4040

4141
## Code contribution workflow

Diff for: FAQ.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ encountered and prefer not to get new issues filed in our bug tracker.
66

77
* [Why Swift?](#why-swift)
88
* [How can I use Python 3 with the Python module?](#how-can-i-use-python-3-with-the-python-module)
9-
* [\[Mac\] I wrote some code in an Xcode Playground. Why is it frozen/hanging?](https://github.com/tensorflow/swift/blob/master/FAQ.md#mac-i-wrote-some-code-in-an-xcode-playground-why-is-it-frozenhanging)
9+
* [\[Mac\] I wrote some code in an Xcode Playground. Why is it frozen/hanging?](https://github.com/tensorflow/swift/blob/main/FAQ.md#mac-i-wrote-some-code-in-an-xcode-playground-why-is-it-frozenhanging)
1010

1111
## Why Swift?
1212

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ The Swift for TensorFlow project is currently focusing on 2 kinds of users:
5353

5454
Tutorial | Last Updated |
5555
-------- | ------------ |
56-
[A Swift Tour](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/a_swift_tour.ipynb) | March 2019
57-
[Protocol-Oriented Programming & Generics](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/protocol_oriented_generics.ipynb) | August 2019
58-
[Python Interoperability](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/python_interoperability.ipynb) | March 2019
59-
[Custom Differentiation](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/custom_differentiation.ipynb) | March 2019
60-
[Sharp Edges in Differentiability](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/Swift_autodiff_sharp_edges.ipynb) | November 2020
61-
[Model Training Walkthrough](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/model_training_walkthrough.ipynb) | March 2019
62-
[Raw TensorFlow Operators](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/raw_tensorflow_operators.ipynb) | December 2019
63-
[Introducing X10, an XLA-Based Backend](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/introducing_x10.ipynb) | May 2020
56+
[A Swift Tour](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/a_swift_tour.ipynb) | March 2019
57+
[Protocol-Oriented Programming & Generics](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/protocol_oriented_generics.ipynb) | August 2019
58+
[Python Interoperability](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/python_interoperability.ipynb) | March 2019
59+
[Custom Differentiation](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/custom_differentiation.ipynb) | March 2019
60+
[Sharp Edges in Differentiability](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/Swift_autodiff_sharp_edges.ipynb) | November 2020
61+
[Model Training Walkthrough](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/model_training_walkthrough.ipynb) | March 2019
62+
[Raw TensorFlow Operators](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/raw_tensorflow_operators.ipynb) | December 2019
63+
[Introducing X10, an XLA-Based Backend](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/introducing_x10.ipynb) | May 2020
6464

6565
### Resources
6666

@@ -122,7 +122,7 @@ to make users more productive. You can run Swift interactively in a Jupyter
122122
notebook, and get helpful autocomplete suggestions to help you explore the
123123
massive API surface of a modern deep learning library. You can [get started
124124
right in your browser in
125-
seconds](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/model_training_walkthrough.ipynb)!
125+
seconds](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/model_training_walkthrough.ipynb)!
126126

127127
Migrating to Swift for TensorFlow is really easy thanks to Swift's powerful
128128
Python integration. You can incrementally migrate your Python code over (or
@@ -160,7 +160,7 @@ out the following documentation.
160160

161161
Document | Last Updated | Status |
162162
-------- | ------------ | ------ |
163-
[Swift Differentiable Programming Manifesto](https://github.com/apple/swift/blob/master/docs/DifferentiableProgramming.md) | January 2020 | Current
163+
[Swift Differentiable Programming Manifesto](https://github.com/apple/swift/blob/main/docs/DifferentiableProgramming.md) | January 2020 | Current
164164
[Swift Differentiable Programming Implementation Overview](https://docs.google.com/document/d/1_BirmTqdotglwNTOcYAW-ib6mx_jl-gH9Dbg4WmHZh0) | August 2019 | Current
165165
[Swift Differentiable Programming Design Overview](https://docs.google.com/document/d/1bPepWLfRQa6CtXqKA8CDQ87uZHixNav-TFjLSisuKag/edit?usp=sharing) | June 2019 | Outdated
166166
[Differentiable Types](docs/DifferentiableTypes.md) | March 2019 | Outdated

Diff for: RELEASES.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ and refining APIs.
5252
`Layer`s are now "callable" like functions, e.g. `layer(input)`.
5353
* **Note: this is experimental functionality that is currently [being proposed
5454
through Swift
55-
Evolution](https://github.com/apple/swift-evolution/blob/master/proposals/0253-callable.md).**
55+
Evolution](https://github.com/apple/swift-evolution/blob/main/proposals/0253-callable.md).**
5656
Expect potential changes.
5757
* The `context` argument has been removed from `Layer`'s `applied(to:)` method.
5858
Instead, contexts are now thread-local. ([swift-apis#87](https://github.com/tensorflow/swift-apis/pull/87))
@@ -125,7 +125,7 @@ natural Python interoperability.
125125

126126
* Hit "Tab" to trigger basic semantic autocomplete.
127127
* [Use matplotlib to produce inline
128-
graphs.](https://github.com/google/swift-jupyter/blob/master/README.md#rich-output)
128+
graphs.](https://github.com/google/swift-jupyter/blob/main/README.md#rich-output)
129129
* Interrupt cell execution by clicking the "stop" button next to the cell.
130130

131131
### Swift Standard Library Enhancements
@@ -134,7 +134,7 @@ natural Python interoperability.
134134
[`KeyPathIterable`](https://www.tensorflow.org/swift/api_docs/Protocols/KeyPathIterable)
135135
protocol conformance to make your custom type provide a collection of key
136136
paths to stored properties. Read [Dynamic Property Iteration using Key
137-
Paths](https://github.com/tensorflow/swift/blob/master/docs/DynamicPropertyIteration.md)
137+
Paths](https://github.com/tensorflow/swift/blob/main/docs/DynamicPropertyIteration.md)
138138
for a deep dive into the design.
139139
* Declare an
140140
[`AdditiveArithmetic`](https://www.tensorflow.org/swift/api_docs/Protocols/KeyPathIterable)
@@ -176,13 +176,13 @@ natural Python interoperability.
176176
[`Differentiable`](https://www.tensorflow.org/swift/api_docs/Protocols/Differentiable)
177177
protocol to make a custom type work with automatic differentiation. For a
178178
technical deep dive, read [Differentiable
179-
Types](https://github.com/tensorflow/swift/blob/master/docs/DifferentiableTypes.md).
179+
Types](https://github.com/tensorflow/swift/blob/main/docs/DifferentiableTypes.md).
180180
* Use
181181
[`differentiableFunction(from:)`](https://www.tensorflow.org/swift/api_docs/Functions#/s:10TensorFlow22differentiableFunction4fromq0_x_q_tcq0_5value_15CotangentVectorQz_AEQy_tAEQy0_c8pullbacktx_q_tc_tAA14DifferentiableRzAaJR_AaJR0_r1_lF)
182182
to form a `@differentiable` function from a custom derivative function.
183183
* Custom differentiation APIs are available in the standard library. Follow the
184184
[custom differentiation
185-
tutorial](https://colab.research.google.com/github/tensorflow/swift/blob/master/docs/site/tutorials/custom_differentiation.ipynb)
185+
tutorial](https://colab.research.google.com/github/tensorflow/swift/blob/main/docs/site/tutorials/custom_differentiation.ipynb)
186186
to learn how to use them.
187187
* Gradient checkpointing API:
188188
[`withRecomputationInPullbacks(_:)`](https://www.tensorflow.org/swift/api_docs/Protocols/Differentiable#/s:10TensorFlow14DifferentiablePAAE28withRecomputationInPullbacksyqd__qd__xcAaBRd__lF).

0 commit comments

Comments
 (0)