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

Python/C++ API parity master tracking task #33227

Open
yf225 opened this issue Feb 12, 2020 · 0 comments
Open

Python/C++ API parity master tracking task #33227

yf225 opened this issue Feb 12, 2020 · 0 comments

Comments

@yf225
Copy link
Contributor

@yf225 yf225 commented Feb 12, 2020

Achieving API parity between our Python and C++ frontend is crucial for broadening the number of language communities PyTorch can address. By the PyTorch 1.5 release, we will provide the following improvements to the PyTorch C++ frontend:

Python/C++ API Parity:

  • torch.nn modules and functional (tracking issue: #25883). Items that will be added in 1.5:
    • RNN
    • LSTM
    • GRU
    • RNNCell
    • LSTMCell
    • GRUCell
    • PackedSequence (#33652)
    • pack_padded_sequence (#33652)
    • pad_packed_sequence (#33652)
    • pad_sequence (#33652)
    • pack_sequence (#33652)
  • torch.optim optimizers (tracking issue: #28440) (Ask Vincent to prioritize the rest of optimizers)
  • tensor multi-dim indexing API
  • C++ tensor autograd API (tracking issue: #25874). Remaining items:

Bug fixes:

  • Allow skipping default arguments in module's forward method when module is used in Sequential (PR: #33027)
  • ModuleList compile error: error: 'begin' was not declared in this scope (Issue: #32414)
  • C++ nn::FractionalMaxPool2d/3d output_ratio option is integer, should be double (Issue: #33240, PR: #33304)

Docs:

  • For each torch::nn layer / functional, document how to use *Options to specify options
  • Fix torch::Tensor doc generation (Issue: #25845)

Tutorials:

cc @yf225 @gchanan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.