Skip to content

Improvement in courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb- #523 - #524

Open
bogaktik wants to merge 5 commits into
tensorflow:masterfrom
bogaktik:Minh-Nguyen
Open

bogaktik wants to merge 5 commits into
tensorflow:masterfrom
bogaktik:Minh-Nguyen

Conversation

@bogaktik

@bogaktik bogaktik commented Nov 4, 2026

Copy link
Copy Markdown

No description provided.

… Input layer

Updated the Sequential model definition to use `tf.keras.Input(shape=(1,))` instead of passing `input_shape` directly to the `Dense` layer, aligning with Keras 3/TensorFlow 2.16+ standards
Resolve 'ValueError: Unrecognized data type' in Keras 3 by wrapping
the input prediction list `[100.0]` into a NumPy array `np.array([100.0])`.
- refactor: replace input_shape with tf.keras.Input for Keras 3 compatibility
@bogaktik
bogaktik requested a review from MarkDaoust as a code owner November 4, 2026 20:37
@google-ml-butler google-ml-butler Bot added size:M CL Change Size: Medium awaiting review labels Nov 4, 2026
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review size:M CL Change Size: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant