Commit 88ebe49a authored by hizagalilo's avatar hizagalilo Committed by GitHub
Browse files

Update slim_walkthrough.ipynb

parent c8a0608b
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
"\n", "\n",
" # Print name and shape of each tensor.\n", " # Print name and shape of each tensor.\n",
" print \"Layers\"\n", " print \"Layers\"\n",
" for k, v in end_points.iteritems():\n", " for k, v in end_points.items():\n",
" print 'name = {}, shape = {}'.format(v.name, v.get_shape())\n", " print 'name = {}, shape = {}'.format(v.name, v.get_shape())\n",
"\n", "\n",
" # Print name and shape of parameter nodes (values not yet initialized)\n", " # Print name and shape of parameter nodes (values not yet initialized)\n",
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
" final_op=names_to_value_nodes.values())\n", " final_op=names_to_value_nodes.values())\n",
"\n", "\n",
" names_to_values = dict(zip(names_to_value_nodes.keys(), metric_values))\n", " names_to_values = dict(zip(names_to_value_nodes.keys(), metric_values))\n",
" for key, value in names_to_values.iteritems():\n", " for key, value in names_to_values.items():\n",
" print('%s: %f' % (key, value))" " print('%s: %f' % (key, value))"
] ]
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment