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

Update the documentation with the latest changes in parameter differentiability #2125

Merged
merged 3 commits into from
Jan 26, 2022

Conversation

dime10
Copy link
Contributor

@dime10 dime10 commented Jan 26, 2022

Context: This PR updates various points in the documentation regarding which data types can be differentiated in autograd, and what the defaults for parameter trainability are.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@github-actions
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #2125 (f9ef1a1) into master (fec189f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2125   +/-   ##
=======================================
  Coverage   99.19%   99.19%           
=======================================
  Files         228      228           
  Lines       17472    17472           
=======================================
  Hits        17331    17331           
  Misses        141      141           
Impacted Files Coverage Δ
pennylane/_grad.py 100.00% <ø> (ø)
pennylane/qnn/keras.py 100.00% <ø> (ø)
pennylane/qnn/torch.py 100.00% <ø> (ø)
pennylane/qnode.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fec189f...f9ef1a1. Read the comment docs.

@dime10 dime10 requested a review from josh146 January 26, 2022 14:25
Copy link
Member

@josh146 josh146 left a comment

Choose a reason for hiding this comment

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

Thanks @dime10! Don't forget to also update the changelog (you can probably just list this PR under the changelog entry for the just-merged requires_grad=False PR)

doc/introduction/interfaces/numpy.rst Outdated Show resolved Hide resolved
doc/introduction/interfaces/numpy.rst Outdated Show resolved Hide resolved
pennylane/_grad.py Show resolved Hide resolved
dime10 and others added 2 commits January 26, 2022 09:49
Co-authored-by: Josh Izaac <josh146@gmail.com>
@dime10 dime10 merged commit 62cc566 into master Jan 26, 2022
@dime10 dime10 deleted the diff_doc_update branch January 26, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants