-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add imports and function invocations to sample code (#6)
* Add imports and function invocations to sample code Copying and pasting the existing samples either fails due to import errors, or empty profile results if the function decorated with `@profile` isn't invoked. The samples have been updated so they can all be copy and pasted and run to produce the same results listed in the README * Add future to requirements.txt to fix failing travis build See https://travis-ci.com/github/Stonesjtu/pytorch_memlab/jobs/299780365 for the corresponding failing job log Ref: https://stackoverflow.com/questions/27495752/no-module-named-builtins
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
calmsize | ||
torch | ||
future |