Skip to content

Commit

Permalink
DOC: update examples (tensorflow#476)
Browse files Browse the repository at this point in the history
* Update template.ipynb

Update example notebook

* Update image_ops.ipynb

Update example notebook

* Update layers_normalizations.ipynb

Update example notebook

* Update layers_weightnormalization.ipynb

Update example notebook

* Update losses_triplet.ipynb

Update example notebook

* Update optimizers_lazyadam.ipynb
  • Loading branch information
seanpmorgan authored and WindQAQ committed Sep 4, 2019
1 parent 463f5f8 commit 4b39ea0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions examples/image_ops.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
}
},
"source": [
"!pip install -q tensorflow-gpu==2.0.0b1\n",
"!pip install -q tensorflow-addons==0.4.0\n",
"!pip install -q tensorflow-gpu==2.0.0rc0\n",
"!pip install -q tensorflow-addons~=0.5\n",
"\n",
"from __future__ import absolute_import, division, print_function, unicode_literals\n",
"\n",
Expand Down Expand Up @@ -598,4 +598,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions examples/layers_normalizations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
"outputId": "6e55e2de-663b-4ce4-fbe7-4e004594516e"
},
"source": [
"!pip install tensorflow==2.0.0-beta1 \n",
"!pip install tensorflow-addons\n",
"!pip install -q tensorflow==2.0.0rc0 \n",
"!pip install -q tensorflow-addons~=0.5\n",
"from __future__ import absolute_import, division, print_function\n",
"import tensorflow as tf\n",
"import tensorflow_addons as tfa"
Expand Down
4 changes: 2 additions & 2 deletions examples/layers_weightnormalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
"colab": {}
},
"source": [
"!pip install tensorflow-gpu==2.0.0-beta1\n",
"!pip install tensorflow-addons\n",
"!pip install tensorflow-gpu==2.0.0rc0\n",
"!pip install tensorflow-addons~=0.5\n",
"from __future__ import absolute_import, division, print_function, unicode_literals\n",
"\n",
"import tensorflow as tf\n",
Expand Down
6 changes: 3 additions & 3 deletions examples/losses_triplet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
"colab": {}
},
"source": [
"!pip install tensorflow-gpu==2.0.0-beta1\n",
"!pip install tfa-nightly\n",
"!pip install -q tensorflow-gpu==2.0.0rc0\n",
"!pip install -q tensorflow-addons~=0.5\n",
"from __future__ import absolute_import, division, print_function, unicode_literals\n",
"\n",
"import io\n",
Expand Down Expand Up @@ -378,4 +378,4 @@
"outputs": []
}
]
}
}
4 changes: 2 additions & 2 deletions examples/optimizers_lazyadam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
"colab": {}
},
"source": [
"!pip install tensorflow-gpu==2.0.0-beta1\n",
"!pip install tensorflow-addons\n",
"!pip install tensorflow-gpu==2.0.0rc0\n",
"!pip install tensorflow-addons~=0.5\n",
"from __future__ import absolute_import, division, print_function, unicode_literals\n",
"\n",
"import tensorflow as tf\n",
Expand Down
6 changes: 3 additions & 3 deletions examples/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
"colab": {}
},
"source": [
"!pip install tensorflow==2.0.0.a0\n",
"!pip install tensorflow-addons"
"!pip install tensorflow==2.0.0rc0\n",
"!pip install tensorflow-addons~=0.5"
],
"execution_count": 0,
"outputs": []
Expand Down Expand Up @@ -319,4 +319,4 @@
]
}
]
}
}

0 comments on commit 4b39ea0

Please sign in to comment.