Skip to content

Commit e54e4d4

Browse files
committed
updates 2023
1 parent 5c4fcbd commit e54e4d4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lab1/Part1_TensorFlow.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
"id": "3eI6DUic-6jo"
4343
},
4444
"source": [
45-
"# Copyright 2023 MIT 6.S191 Introduction to Deep Learning. All Rights Reserved.\n",
45+
"# Copyright 2023 MIT Introduction to Deep Learning. All Rights Reserved.\n",
4646
"# \n",
4747
"# Licensed under the MIT License. You may not use this file except in compliance\n",
48-
"# with the License. Use and/or modification of this code outside of 6.S191 must\n",
49-
"# reference:\n",
48+
"# with the License. Use and/or modification of this code outside of MIT Introduction\n",
49+
"# to Deep Learning must reference:\n",
5050
"#\n",
51-
"# © MIT 6.S191: Introduction to Deep Learning\n",
51+
"# © MIT Introduction to Deep Learning\n",
5252
"# http://introtodeeplearning.com\n",
5353
"#"
5454
],
@@ -82,7 +82,7 @@
8282
"%tensorflow_version 2.x\n",
8383
"import tensorflow as tf\n",
8484
"\n",
85-
"# Download and import the MIT 6.S191 package\n",
85+
"# Download and import the MIT Introduction to Deep Learning package\n",
8686
"!pip install mitdeeplearning\n",
8787
"import mitdeeplearning as mdl\n",
8888
"\n",
@@ -206,8 +206,8 @@
206206
},
207207
"source": [
208208
"row_vector = matrix[1]\n",
209-
"column_vector = matrix[:,2]\n",
210-
"scalar = matrix[1, 2]\n",
209+
"column_vector = matrix[:,1]\n",
210+
"scalar = matrix[0, 1]\n",
211211
"\n",
212212
"print(\"`row_vector`: {}\".format(row_vector.numpy()))\n",
213213
"print(\"`column_vector`: {}\".format(column_vector.numpy()))\n",

0 commit comments

Comments
 (0)