Skip to content

Commit

Permalink
L2 notebook - added output
Browse files Browse the repository at this point in the history
  • Loading branch information
margaretmz committed Dec 29, 2019
1 parent 4f8a396 commit 096361d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MNIST-tfKeras-TFLite-Android/L2_Python Basics.ipynb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"L2_Python Basics.ipynb","provenance":[],"private_outputs":true,"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"code","metadata":{"id":"3FEUxZXhJS8L","colab_type":"code","colab":{}},"source":["print(\"hello\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"TIRqlIwsJZ4P","colab_type":"code","colab":{}},"source":["print(1+2)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"R15z-jOxJcsO","colab_type":"code","colab":{}},"source":["x = 9"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"DtR8ABxpJeaJ","colab_type":"code","colab":{}},"source":["type(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"NVYq8KXGJft-","colab_type":"code","colab":{}},"source":["print(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"guiUPVsMJl_i","colab_type":"code","colab":{}},"source":["if (x > 0):\n"," print (\"positive\")\n","elif (x < 0):\n"," print (\"negative\")\n","else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"OxuvvQRHJ_Zr","colab_type":"code","colab":{}},"source":["def print_num(x):\n"," if (x > 0):\n"," print (\"positive\")\n"," elif (x < 0):\n"," print (\"negative\")\n"," else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"BdR8BVf2KGLP","colab_type":"code","colab":{}},"source":["print_num(0)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"H7tbzWHBKLbH","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"j6_sulxNKbxd","colab_type":"code","colab":{}},"source":["!pip install tensorflow==2.0.0-beta1"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"6nWL3K6ZKi48","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]}]}
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"L2_Python Basics.ipynb","provenance":[],"private_outputs":true,"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"code","metadata":{"id":"3FEUxZXhJS8L","colab_type":"code","colab":{}},"source":["print(\"hello\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"TIRqlIwsJZ4P","colab_type":"code","colab":{}},"source":["print(1+2)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"R15z-jOxJcsO","colab_type":"code","colab":{}},"source":["x = 9"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"DtR8ABxpJeaJ","colab_type":"code","colab":{}},"source":["type(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"NVYq8KXGJft-","colab_type":"code","colab":{}},"source":["print(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"guiUPVsMJl_i","colab_type":"code","colab":{}},"source":["if (x > 0):\n"," print (\"positive\")\n","elif (x < 0):\n"," print (\"negative\")\n","else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"OxuvvQRHJ_Zr","colab_type":"code","colab":{}},"source":["def print_num(x):\n"," if (x > 0):\n"," print (\"positive\")\n"," elif (x < 0):\n"," print (\"negative\")\n"," else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"BdR8BVf2KGLP","colab_type":"code","colab":{}},"source":["print_num(0)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"H7tbzWHBKLbH","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"j6_sulxNKbxd","colab_type":"code","colab":{}},"source":["!pip install tensorflow==2.0.0-beta1"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"6nWL3K6ZKi48","colab_type":"code","colab":{}},"source":["# Verify the specific version of tensorflow has been installed\n","import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]}]}

0 comments on commit 096361d

Please sign in to comment.