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

add test for literal getproperty overwrite #925

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

mzgubic
Copy link
Collaborator

@mzgubic mzgubic commented Mar 23, 2021

Another small thing that came from #922 , namely #922 (comment).

Writing a separate @adjoint for literal_getproperty, which shouldn't be done, passes all tests at the moment. This test will fail if a custom adjoint is written for literal_getproperty.

@simeonschaub this is from our discussion yesterday

Copy link
Member

@simeonschaub simeonschaub left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for doing this! LGTM.

@mzgubic
Copy link
Collaborator Author

mzgubic commented Mar 23, 2021

Cheers! I don't have merge rights, could you please merge?

Copy link
Member

@DhairyaLGandhi DhairyaLGandhi left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Mar 23, 2021
925: add test for literal getproperty overwrite r=DhairyaLGandhi a=mzgubic

Another small thing that came from #922 , namely #922 (comment).

Writing a separate @adjoint for `literal_getproperty`, which shouldn't be done, passes all tests at the moment. This test will fail if a custom adjoint is written for `literal_getproperty`.

@simeonschaub this is from our discussion yesterday

Co-authored-by: Miha Zgubic <[email protected]>
@bors
Copy link
Contributor

bors bot commented Mar 23, 2021

Build failed:

@mzgubic
Copy link
Collaborator Author

mzgubic commented Mar 23, 2021

That can't be related, right?

@DhairyaLGandhi
Copy link
Member

Hmm, let's try again

bors r+

bors bot added a commit that referenced this pull request Mar 23, 2021
925: add test for literal getproperty overwrite r=DhairyaLGandhi a=mzgubic

Another small thing that came from #922 , namely #922 (comment).

Writing a separate @adjoint for `literal_getproperty`, which shouldn't be done, passes all tests at the moment. This test will fail if a custom adjoint is written for `literal_getproperty`.

@simeonschaub this is from our discussion yesterday

Co-authored-by: Miha Zgubic <[email protected]>
@bors
Copy link
Contributor

bors bot commented Mar 23, 2021

Build failed:

@oxinabox
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 25, 2021

Build succeeded:

@bors bors bot merged commit 851a649 into FluxML:master Mar 25, 2021
@mzgubic mzgubic deleted the mz/test branch March 25, 2021 16:00
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.

4 participants