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

[quantization] fix conv2d #23690

Closed
wants to merge 2 commits into from
Closed

Conversation

jamesr66a
Copy link
Collaborator

@jamesr66a jamesr66a commented Aug 1, 2019

Stack from ghstack:

Differential Revision: D16610734

@pytorchbot pytorchbot added the module: nn Related to torch.nn label Aug 1, 2019
prepacked_weight, bias,
stride, padding, dilation,
groups, scale, zero_point).permute([0, 3, 1, 2])
return _ops.quantized.fbgemm_conv2d(input.permute([0, 2, 3, 1]),
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe remove as _ops in the import?

Copy link
Contributor

@z-a-f z-a-f Aug 1, 2019

Choose a reason for hiding this comment

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

The reason it was there was so that the user wouldn't have ops in their top level after from torch.quantized.functional import *, but I guess we don't need that restriction

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe use torch.ops directly then?

[quantization] fix conv2d

gh-metadata: pytorch pytorch 23690 gh/jamesr66a/28/head
@facebook-github-bot
Copy link
Contributor

@jamesr66a merged this pull request in 3314d60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merged module: nn Related to torch.nn
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants