-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature python interface #53
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f6f428b
super basic python interface for tensors
ewanwm da73037
add more functionality to tensor python interface, including autograd…
ewanwm e75ef16
python interface for propagator and matter solver
ewanwm 3004424
expanded python interface so can now do a full calculation of probabi…
ewanwm 5496c41
can now actually access the elements of a tensor from the python side…
ewanwm 7906cd9
update the python interface test... need to make this a proper test t…
ewanwm 062a9a6
Update README.md
ewanwm 3e7f8a1
fix non-pch compilation and do the linters bidding
ewanwm 057b8fe
Was this causing problems?
ewanwm 4993f4e
fix benchmark issue and do some linter suggestions
ewanwm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy diagnostic
nuTens/propagator/propagator.cpp:45:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.cpp:45:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.cpp:45:94: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:42:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:42:76: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:42:97: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:45:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:45:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/propagator/propagator.hpp:45:94: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:30:14: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:30:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:30:78: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:31:79: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:32:85: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:33:86: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:36:14: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:36:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:36:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:37:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:38:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:39:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:42:14: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:42:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:42:76: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:42:97: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:45:14: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:45:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/dtypes.hpp:45:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:42:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:42:76: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:42:97: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:45:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:45:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/tensor.hpp:45:94: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:30:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:30:78: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:31:79: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:32:85: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:33:86: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:38:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:39:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:42:35: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:42:76: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:42:97: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:45:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:45:73: error: [clang-diagnostic-error]
clang-tidy diagnostic
nuTens/tensors/torch-tensor.cpp:45:94: error: [clang-diagnostic-error]
clang-tidy diagnostic
python/pyNuTens.cpp:22:1: warning: [cppcoreguidelines-avoid-non-const-global-variables]
clang-tidy diagnostic
python/pyNuTens.cpp:22:1: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
clang-tidy diagnostic
tests/tensor-basic.cpp:31:79: error: [clang-diagnostic-error]
clang-tidy diagnostic
tests/tensor-basic.cpp:32:85: error: [clang-diagnostic-error]
clang-tidy diagnostic
tests/tensor-basic.cpp:33:86: error: [clang-diagnostic-error]
clang-tidy diagnostic
tests/tensor-basic.cpp:36:14: error: [clang-diagnostic-error]
clang-tidy diagnostic
tests/tensor-basic.cpp:36:23: error: [clang-diagnostic-error]
clang-tidy diagnostic
tests/tensor-basic.cpp:36:73: error: [clang-diagnostic-error]