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

Nano: fix documentation typos in tensorflow inference and quantization #7126

Closed
wants to merge 1 commit into from

Conversation

HensonMa
Copy link
Contributor

Description

For quantization API in tensorflow inference engine, there's no keyword argument of "calib_dataset", instead using "x" simply.

@@ -80,7 +80,7 @@ from torchmetrics.classification import MulticlassAccuracy

q_model = model.quantize(precision='int8',
accelerator=None,
calib_dataset= train_dataset,
x= train_dataset,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are having a fix on #6925 for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then that's fine!

accuracy_criterion={'relative': 0.01, 'higher_is_better': True},
tuning_strategy='basic',
timeout=0,
max_trials=10,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be honest, what should we do to https://bigdl.readthedocs.io/en/latest/doc/Nano/QuickStart/index.html? @rnwang04 @MeouSker77 . We will meet more and more not up-to-date information for these pages and we seems to suggest our users to only read key features + how to guide.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got your points~

@HensonMa HensonMa closed this Jan 3, 2023
@HensonMa HensonMa deleted the nano_tf_rev branch January 3, 2023 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants