Migrate to TensorFlow 0.11.0

This commit is contained in:
Aurélien Geron
2016-11-23 09:26:19 +01:00
parent a40b278df5
commit ccb28831cb
5 changed files with 19 additions and 18 deletions

View File

@@ -511,7 +511,7 @@
},
"outputs": [],
"source": [
"with tf.variable_scope(\"\", reuse=True):\n",
"with tf.variable_scope(\"\", default_name=\"\", reuse=True): # root scope\n",
" weights1 = tf.get_variable(\"hidden1/weights\")\n",
" weights2 = tf.get_variable(\"hidden2/weights\")\n",
" "
@@ -820,7 +820,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 36,
"metadata": {
"collapsed": false
},
@@ -832,7 +832,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 37,
"metadata": {
"collapsed": false
},
@@ -910,7 +910,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.1"
"version": "3.5.2"
},
"nav_menu": {
"height": "360px",