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

change signature of quantize_input #4039

Merged
merged 2 commits into from
Aug 17, 2021

Conversation

chenbohua3
Copy link
Contributor

As described here:

Note that this logic won’t traverse lists/dicts/any other data structures and will only consider Tensor s that are direct arguments to the call

So if we directly pass inputs (should be a tuple) to quant_grad, inputs will not appear in the training graph.

@chenbohua3 chenbohua3 changed the title chagne signature of quantize_input change signature of quantize_input Aug 6, 2021
@chenbohua3 chenbohua3 force-pushed the change_signature_input branch from f27dc54 to ed0be46 Compare August 9, 2021 04:12
@acured acured requested a review from J-shang August 16, 2021 09:08
@acured acured merged commit 39e3a99 into microsoft:master Aug 17, 2021
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