Skip to content

Commit

Permalink
Move license to top of tutorials. (tensorflow#159)
Browse files Browse the repository at this point in the history
* Move license to top of tutorials.
* Ensure table of contents is visible for all tutorials.
  • Loading branch information
dan-zheng authored Mar 22, 2019
1 parent 8c6f46a commit a8dfa1d
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 139 deletions.
61 changes: 26 additions & 35 deletions docs/site/tutorials/custom_differentiation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"name": "Custom differentiation.ipynb",
"version": "0.3.2",
"provenance": [],
"collapsed_sections": []
"collapsed_sections": [],
"toc_visible": true
},
"kernelspec": {
"name": "swift",
Expand All @@ -24,6 +25,30 @@
"##### Copyright 2018 The TensorFlow Authors. [Licensed under the Apache License, Version 2.0](#scrollTo=Afd8bu4xJOgh)."
]
},
{
"metadata": {
"id": "tNgCmfUvJNoF",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
},
{
"metadata": {
"id": "AlvdCHw5JGyx",
Expand Down Expand Up @@ -741,40 +766,6 @@
"source": [
"Just like that, it is super easy to define generic differentiable programming libraries for different domains."
]
},
{
"metadata": {
"id": "Afd8bu4xJOgh",
"colab_type": "text"
},
"cell_type": "markdown",
"source": [
"## License"
]
},
{
"metadata": {
"id": "tNgCmfUvJNoF",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
}
]
}
60 changes: 25 additions & 35 deletions docs/site/tutorials/model_training_walkthrough.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,31 @@
"##### Copyright 2018 The TensorFlow Authors. [Licensed under the Apache License, Version 2.0](#scrollTo=y_UVSRtBBsJk)."
]
},
{
"metadata": {
"colab_type": "code",
"id": "CPII1rGR2rF9",
"scrolled": true,
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
},
{
"metadata": {
"colab_type": "text",
Expand Down Expand Up @@ -1386,41 +1411,6 @@
"name": "stdout"
}
]
},
{
"metadata": {
"id": "y_UVSRtBBsJk",
"colab_type": "text"
},
"cell_type": "markdown",
"source": [
"## License"
]
},
{
"metadata": {
"colab_type": "code",
"id": "CPII1rGR2rF9",
"scrolled": true,
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
}
]
}
61 changes: 26 additions & 35 deletions docs/site/tutorials/python_interoperability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"name": "Python interoperability.ipynb",
"version": "0.3.2",
"provenance": [],
"collapsed_sections": []
"collapsed_sections": [],
"toc_visible": true
},
"kernelspec": {
"name": "swift",
Expand All @@ -24,6 +25,30 @@
"##### Copyright 2018 The TensorFlow Authors. [Licensed under the Apache License, Version 2.0](#scrollTo=ByZjmtFgB_Y5)."
]
},
{
"metadata": {
"id": "tRIJp_4m_Afz",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
},
{
"metadata": {
"id": "sI1ZtrdiA4aY",
Expand Down Expand Up @@ -578,40 +603,6 @@
"execution_count": 13
}
]
},
{
"metadata": {
"id": "ByZjmtFgB_Y5",
"colab_type": "text"
},
"cell_type": "markdown",
"source": [
"## License"
]
},
{
"metadata": {
"id": "tRIJp_4m_Afz",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
}
]
}
58 changes: 24 additions & 34 deletions docs/site/tutorials/using_raw_tensorflow_operators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,30 @@
"##### Copyright 2018 The TensorFlow Authors. [Licensed under the Apache License, Version 2.0](#scrollTo=bPJq2qP2KE3u)."
]
},
{
"metadata": {
"id": "fSlQ2vFzKGOY",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
},
{
"metadata": {
"id": "yfNdITLmJtX8",
Expand Down Expand Up @@ -291,40 +315,6 @@
"name": "stdout"
}
]
},
{
"metadata": {
"id": "bPJq2qP2KE3u",
"colab_type": "text"
},
"cell_type": "markdown",
"source": [
"## License"
]
},
{
"metadata": {
"id": "fSlQ2vFzKGOY",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
"#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
"// Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"// you may not use this file except in compliance with the License.\n",
"// You may obtain a copy of the License at\n",
"//\n",
"// https://www.apache.org/licenses/LICENSE-2.0\n",
"//\n",
"// Unless required by applicable law or agreed to in writing, software\n",
"// distributed under the License is distributed on an \"AS IS\" BASIS,\n",
"// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
"// See the License for the specific language governing permissions and\n",
"// limitations under the License."
],
"execution_count": 0,
"outputs": []
}
]
}

0 comments on commit a8dfa1d

Please sign in to comment.