Skip to content

Conversation

@pbelevich
Copy link
Contributor

@pbelevich pbelevich commented Oct 4, 2019

Stack from ghstack:


This PR is BC-breaking in the following way:

The arguments in LinearOptions are renamed to match the Python API:

  • in -> in_features
  • out -> out_features
  • with_bias -> bias

The accessor calls (e.g. in()) in the user's code needs to be changed accordingly.


Differential Revision: D17766735

[ghstack-poisoned]
@pbelevich pbelevich mentioned this pull request Oct 5, 2019
@pbelevich pbelevich requested a review from yf225 October 12, 2019 01:32
Copy link
Contributor

@yf225 yf225 left a 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.

@pbelevich pbelevich requested a review from yf225 October 19, 2019 19:34
Copy link
Contributor

@yf225 yf225 left a 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

@facebook-github-bot
Copy link
Contributor

@pbelevich merged this pull request in dd277e9.

@yf225 yf225 added the module: bc-breaking Related to a BC-breaking change label Oct 25, 2019
@yf225 yf225 changed the title C++ API parity: Linear [BC-breaking] C++ API parity: Linear Oct 25, 2019
facebook-github-bot pushed a commit that referenced this pull request Oct 28, 2019
Summary:
Since we have merged #27382 (thanks pbelevich!)
Pull Request resolved: #28804

Differential Revision: D18185714

Pulled By: yf225

fbshipit-source-id: 1148f5837fbf578843b989fc53fd334519943cdd
@facebook-github-bot facebook-github-bot deleted the gh/pbelevich/32/head branch October 28, 2019 22:17
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary: Pull Request resolved: pytorch#27382

Test Plan: Imported from OSS

Differential Revision: D17766735

Pulled By: pbelevich

fbshipit-source-id: c7a66daeb17550eb9a5d26944427723d4ebdc6c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: bc-breaking Related to a BC-breaking change module: cpp Related to C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants