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

Add multiple quantization params per tensor #11

Merged
merged 1 commit into from Apr 16, 2019

Conversation

jackm321
Copy link
Collaborator

No description provided.

@yinghai yinghai requested a review from zrphercule April 16, 2019 04:23
foxi/onnxifi.h Outdated
/**
* Indicates the axis along which quantization parameters are shared.
*/
uint32_t quantizationAxis;
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: put quantizationAxis before quantizationParams so that we know that quantizationParams specifies the lengths of scales and biases which follows immediately after?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sounds good

Copy link
Collaborator

@yinghai yinghai left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@yinghai yinghai merged commit 72097e4 into houseroad:master Apr 16, 2019
@zrphercule
Copy link
Collaborator

@houseroad @yinghai @jackm321 Please dont sync back foxi for now, since this will break everything related to quantization

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

Successfully merging this pull request may close these issues.

None yet

3 participants