Skip to content

Update hook.py#2922

Merged
karlhigley merged 4 commits intoOpenMined:masterfrom
vishalsubbiah:patch-1
Jan 18, 2020
Merged

Update hook.py#2922
karlhigley merged 4 commits intoOpenMined:masterfrom
vishalsubbiah:patch-1

Conversation

@vishalsubbiah
Copy link
Contributor

@vishalsubbiah vishalsubbiah commented Jan 18, 2020

Based on comment here: #2913 (comment)
HookedTensor is missing a numpy_tensor argument.
Submitting the fix.

formatting
@karlhigley
Copy link
Contributor

Thanks for the fix! Looks like the build is saying there’s a code formatting issue of some kind. Set up the commit hooks and they’ll format the code for you when make a commit.

@vishalsubbiah
Copy link
Contributor Author

@karlhigley I fixed the formatting in the second commit. The build is still running for it. Thanks for the link to the commit hooks, that will help in the future.

Copy link
Contributor

@karlhigley karlhigley left a comment

Choose a reason for hiding this comment

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

Good catch, and thanks for volunteering to fix it!

reviewer feedback
@karlhigley karlhigley added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Jan 18, 2020
@karlhigley karlhigley added the Type: Documentation 📚 Improvements or additions in documentation for some file, feature, or codebase label Jan 18, 2020
@vishalsubbiah vishalsubbiah removed the request for review from iamtrask January 18, 2020 16:05
@karlhigley karlhigley merged commit 62b3f4d into OpenMined:master Jan 18, 2020
@karlhigley
Copy link
Contributor

@vishalsubbiah Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug 🐛 Some functionality not working in the codebase as intended Type: Documentation 📚 Improvements or additions in documentation for some file, feature, or codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants