Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Api refactor #1728

Merged
merged 39 commits into from
Nov 12, 2019
Merged

Api refactor #1728

merged 39 commits into from
Nov 12, 2019

Conversation

Cjkkkk
Copy link
Contributor

@Cjkkkk Cjkkkk commented Nov 11, 2019

No description provided.

output that needs to be quantized
config : dict
the configuration for output quantization
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

new_output undefine?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, I follow the quantize_weight format. This means user needs to return a tensor, which is the quantized output.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK. At least add ...here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. ... will make more sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I add a comment

# Put your code to generate `new_input` here
return new_input

I think this will be more clear.

docs/en_US/Compressor/Overview.md Show resolved Hide resolved
@QuanluZhang QuanluZhang merged commit 81fcff8 into microsoft:master Nov 12, 2019
@Cjkkkk Cjkkkk deleted the api_factor branch January 6, 2020 04:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants