|
41 | 41 | "id": "3eI6DUic-6jo"
|
42 | 42 | },
|
43 | 43 | "source": [
|
44 |
| - "# Copyright 2022 MIT 6.S191 Introduction to Deep Learning. All Rights Reserved.\n", |
| 44 | + "# Copyright 2023 MIT Introduction to Deep Learning. All Rights Reserved.\n", |
45 | 45 | "# \n",
|
46 | 46 | "# Licensed under the MIT License. You may not use this file except in compliance\n",
|
47 |
| - "# with the License. Use and/or modification of this code outside of 6.S191 must\n", |
48 |
| - "# reference:\n", |
| 47 | + "# with the License. Use and/or modification of this code outside of MIT Introduction\n", |
| 48 | + "# to Deep Learning must reference:\n", |
49 | 49 | "#\n",
|
50 |
| - "# © MIT 6.S191: Introduction to Deep Learning\n", |
| 50 | + "# © MIT Introduction to Deep Learning\n", |
51 | 51 | "# http://introtodeeplearning.com\n",
|
52 | 52 | "#"
|
53 | 53 | ],
|
|
69 | 69 | "\n",
|
70 | 70 | "## 0.1 Install TensorFlow\n",
|
71 | 71 | "\n",
|
72 |
| - "TensorFlow is a software library extensively used in machine learning. Here we'll learn how computations are represented and how to define a simple neural network in TensorFlow. For all the labs in 6.S191 2022, we'll be using the latest version of TensorFlow, TensorFlow 2, which affords great flexibility and the ability to imperatively execute operations, just like in Python. You'll notice that TensorFlow 2 is quite similar to Python in its syntax and imperative execution. Let's install TensorFlow and a couple of dependencies.\n" |
| 72 | + "TensorFlow is a software library extensively used in machine learning. Here we'll learn how computations are represented and how to define a simple neural network in TensorFlow. For all the labs in Introduction to Deep Learning 2023, we'll be using the latest version of TensorFlow, TensorFlow 2, which affords great flexibility and the ability to imperatively execute operations, just like in Python. You'll notice that TensorFlow 2 is quite similar to Python in its syntax and imperative execution. Let's install TensorFlow and a couple of dependencies.\n" |
73 | 73 | ]
|
74 | 74 | },
|
75 | 75 | {
|
|
81 | 81 | "%tensorflow_version 2.x\n",
|
82 | 82 | "import tensorflow as tf\n",
|
83 | 83 | "\n",
|
84 |
| - "# Download and import the MIT 6.S191 package\n", |
| 84 | + "# Download and import the MIT Introduction to Deep Learning package\n", |
85 | 85 | "!pip install mitdeeplearning\n",
|
86 | 86 | "import mitdeeplearning as mdl\n",
|
87 | 87 | "\n",
|
|
207 | 207 | },
|
208 | 208 | "source": [
|
209 | 209 | "row_vector = matrix[1]\n",
|
210 |
| - "column_vector = matrix[:,2]\n", |
211 |
| - "scalar = matrix[1, 2]\n", |
| 210 | + "column_vector = matrix[:,1]\n", |
| 211 | + "scalar = matrix[0, 1]\n", |
212 | 212 | "\n",
|
213 | 213 | "print(\"`row_vector`: {}\".format(row_vector.numpy()))\n",
|
214 | 214 | "print(\"`column_vector`: {}\".format(column_vector.numpy()))\n",
|
|
0 commit comments