-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[BC-breaking] C++ API parity: Linear #27382
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
Conversation
[ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
yf225
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @pbelevich! I left some minor comments.
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
yf225
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pbelevich Thanks a lot for the awesome work! We can land it after the fixing the annoying clang-tidy issue :D
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
Differential Revision: [D17766735](https://our.internmc.facebook.com/intern/diff/D17766735) [ghstack-poisoned]
|
@pbelevich merged this pull request in dd277e9. |
Summary: Pull Request resolved: pytorch#27382 Test Plan: Imported from OSS Differential Revision: D17766735 Pulled By: pbelevich fbshipit-source-id: c7a66daeb17550eb9a5d26944427723d4ebdc6c8
Stack from ghstack:
This PR is BC-breaking in the following way:
The arguments in
LinearOptionsare renamed to match the Python API:in->in_featuresout->out_featureswith_bias->biasThe accessor calls (e.g.
in()) in the user's code needs to be changed accordingly.Differential Revision: D17766735