Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save model as .tf & labels/features astype float32 #2313

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mahsanghani
Copy link

save model as .tf for h5 bug in saving keras models

linear model train labels and features astype float32

save model as .tf for h5 bug in saving keras models

dnn_model.save('dnn_model.tf', save_format='tf')
linear model train labels and features astype float32

test_features.astype('float32'), test_labels.astype('float32'),
@mahsanghani mahsanghani requested a review from a team as a code owner May 30, 2024 20:36
Copy link

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin patch-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant