Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 542a03c

Browse files
Update branch references -> main (#708)
1 parent a6b83fa commit 542a03c

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Examples/GrowingNeuralCellularAutomata/GrowingNeuralCellularAutomata.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"source": [
4040
"%install-location $cwd/swift-install\n",
41-
"%install '.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"master\"))' ModelSupport\n",
41+
"%install '.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"main\"))' ModelSupport\n",
4242
"print(\"\\u{001B}[2J\")"
4343
],
4444
"execution_count": null,
@@ -74,10 +74,10 @@
7474
"source": [
7575
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
7676
" <td>\n",
77-
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/swift-models/blob/master/Examples/GrowingNeuralCellularAutomata/GrowingNeuralCellularAutomata.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
77+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/tensorflow/swift-models/blob/main/Examples/GrowingNeuralCellularAutomata/GrowingNeuralCellularAutomata.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
7878
" </td>\n",
7979
" <td>\n",
80-
" <a target=\"_blank\" href=\"https://github.com/tensorflow/swift-models/blob/master/Examples/GrowingNeuralCellularAutomata/GrowingNeuralCellularAutomata.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
80+
" <a target=\"_blank\" href=\"https://github.com/tensorflow/swift-models/blob/main/Examples/GrowingNeuralCellularAutomata/GrowingNeuralCellularAutomata.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
8181
" </td>\n",
8282
"</table>"
8383
]

Examples/Notebooks/LanguageModel.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
"source": [
5050
"%install-location $cwd/swift-install\n",
5151
"%install-swiftpm-flags -c release\n",
52-
"%install '.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"master\"))' ModelSupport Datasets"
52+
"%install '.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"main\"))' ModelSupport Datasets"
5353
],
5454
"execution_count": 1,
5555
"outputs": [
5656
{
5757
"output_type": "stream",
5858
"text": [
5959
"Installing packages:\n",
60-
"\t.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"master\"))\n",
60+
"\t.package(url: \"https://github.com/tensorflow/swift-models\", .branch(\"main\"))\n",
6161
"\t\tModelSupport\n",
6262
"\t\tDatasets\n",
6363
"With SwiftPM flags: ['-c', 'release']\n",
@@ -1104,4 +1104,4 @@
11041104
]
11051105
}
11061106
]
1107-
}
1107+
}

Examples/WordSeg/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To view a list of all configurable parameters and their defaults, run:
5252
swift run -c release WordSeg --help
5353
```
5454
55-
[model]: https://github.com/tensorflow/swift-models/tree/master/Models/Text/WordSeg
55+
[model]: https://github.com/tensorflow/swift-models/tree/main/Models/Text/WordSeg
5656
[paper]: https://www.aclweb.org/anthology/P19-1645.pdf
5757
[s4tf]: https://github.com/tensorflow/swift/blob/master/Installation.md
5858
[understanding]: https://docs.google.com/document/d/1NlFH0_89gB_qggtgzJIKYHL2xPI3IQjWjv18pnT1M0E

FastStyleTransfer/Demo/ColabDemo.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
"source": [
4545
"// Install package\n",
4646
"%install-location $cwd/swift-packages\n",
47-
"%install '.package(url: \"https://github.com/tensorflow/swift-models.git\", .branch(\"master\"))' ModelSupport FastStyleTransfer Checkpoints\n"
47+
"%install '.package(url: \"https://github.com/tensorflow/swift-models.git\", .branch(\"main\"))' ModelSupport FastStyleTransfer Checkpoints\n"
4848
],
4949
"execution_count": 1,
5050
"outputs": [
5151
{
5252
"output_type": "stream",
5353
"text": [
5454
"Installing packages:\n",
55-
"\t.package(url: \"https://github.com/tensorflow/swift-models.git\", .branch(\"master\"))\n",
55+
"\t.package(url: \"https://github.com/tensorflow/swift-models.git\", .branch(\"main\"))\n",
5656
"\t\tModelSupport\n",
5757
"\t\tFastStyleTransfer\n",
5858
"\t\tCheckpoints\n",
@@ -343,4 +343,4 @@
343343
"outputs": []
344344
}
345345
]
346-
}
346+
}

README.md

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

33
This repository contains TensorFlow models written in Swift.
44

5-
Active development occurs on the `master` branch.
5+
Active development occurs on the `main` branch.
66

77
Use the ```tensorflow-xx``` branch that corresponds to the release you are using from [Swift for TensorFlow releases](https://github.com/tensorflow/swift/blob/master/Installation.md#releases). For example, for the 0.6 release, use the ```tensorflow-0.6``` branch.
88

SwiftModelsBenchmarksCore/README.md

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

33
Let's walk through the process of adding a new String-typed setting:
44

5-
1. Add a new setting to [BenchmarkSettings.swift](https://github.com/tensorflow/swift-models/blob/master/SwiftModelsBenchmarksCore/BenchmarkSettings.swift):
5+
1. Add a new setting to [BenchmarkSettings.swift](https://github.com/tensorflow/swift-models/blob/main/SwiftModelsBenchmarksCore/BenchmarkSettings.swift):
66

77
a. Add a new setting type:
88

@@ -46,7 +46,7 @@ Let's walk through the process of adding a new String-typed setting:
4646
}
4747
```
4848

49-
4. Add a new benchmark flag to [BenchmarkArguments.swift](https://github.com/tensorflow/swift-models/blob/master/SwiftModelsBenchmarksCore/BenchmarkArguments.swift):
49+
4. Add a new benchmark flag to [BenchmarkArguments.swift](https://github.com/tensorflow/swift-models/blob/main/SwiftModelsBenchmarksCore/BenchmarkArguments.swift):
5050

5151
a. Add a flag property:
5252

0 commit comments

Comments
 (0)