diff --git a/courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb b/courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb index 7f8ecb29336..ac7327c88fe 100644 --- a/courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb +++ b/courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb @@ -251,7 +251,7 @@ }, "outputs": [], "source": [ - "model.compile(loss='mean_squared_error',\n", + "model.compile(loss=tf.keras.losses.mean_squared_error,\n", " optimizer=tf.keras.optimizers.Adam(0.1))" ] },