-
Notifications
You must be signed in to change notification settings - Fork 23
Fix FormNetwork constructor bug #238
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
c845947
Blah
JoeyT1994 90c7251
Merge remote-tracking branch 'origin/main'
JoeyT1994 86f3087
Merge remote-tracking branch 'upstream/main'
JoeyT1994 6ff0cd5
Bug fix in current ortho. Change test
JoeyT1994 34e8e5e
Merge remote-tracking branch 'upstream/main'
JoeyT1994 d096722
Fix bug
JoeyT1994 70a3f7e
Merge remote-tracking branch 'upstream/main'
JoeyT1994 9d64fe8
Merge remote-tracking branch 'upstream/main'
JoeyT1994 9d6c1bc
File removed
JoeyT1994 ae17245
Merge remote-tracking branch 'upstream/main'
JoeyT1994 b648353
Merge remote-tracking branch 'upstream/main'
JoeyT1994 4e7d189
Merge remote-tracking branch 'upstream/main'
JoeyT1994 83c92b0
Merge remote-tracking branch 'upstream/main'
JoeyT1994 6f024ee
Merge remote-tracking branch 'upstream/main'
JoeyT1994 1106403
Merge remote-tracking branch 'upstream/main'
JoeyT1994 5641d32
Merge remote-tracking branch 'upstream/main'
JoeyT1994 59ef115
Merge remote-tracking branch 'upstream/main'
JoeyT1994 72bea86
Merge remote-tracking branch 'upstream/main'
JoeyT1994 bc14b33
Merge remote-tracking branch 'upstream/main'
JoeyT1994 9c5151d
Fix constructore bug for form networks
JoeyT1994 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 hidden or 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,7 +1,7 @@ | ||
| name = "ITensorNetworks" | ||
| uuid = "2919e153-833c-4bdc-8836-1ea460a35fc7" | ||
| authors = ["Matthew Fishman <[email protected]>, Joseph Tindall <[email protected]> and contributors"] | ||
| version = "0.13.9" | ||
| version = "0.13.10" | ||
|
|
||
| [deps] | ||
| AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" | ||
|
|
||
This file contains hidden or 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.
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.
Actually I merged prematurely. I think this should be:
Otherwise,
deltawill make a tensor with element typeFloat64, which will then promote other tensors to double precision, which is an issue on GPU where it is generally better to use single precision. @JoeyT1994 can you make a new PR adding backBool, or did you see some issue with that?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.
@mtfishman This introduces bugs to me that I don't understand. For instance
returns

Whilst
returns

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.
If there's a way to avoid these bugs and avoid making it
Float64type I can make that fix in an new PRThere 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.
I see, interesting. An alternative design could be:
Then we can set the element type as needed.
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.
(Though it would be nice to fix that bug anyway.)