Assignment: Introduction to TensorFlow

It’s good to hear that you found the solution. It might be worth reading through the FAQ Thread, as it has a topic on this and other issues that might be helpful.

Also note that you filed this under General Discussion. These forums cover a lot of Specializations besides DLS at this point. Fortunately I recognized the code, but you’ll have better luck if you file the questions under the relevant categories (DLS Course 2 in this case). I moved it for you by using the little “edit pencil” on the title.