You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Hey I want to work on this issue, I am guessing this should be little bit straight forward. Since this is mostly implementing operator overloading for TensorNetwork, please let me know if there are more caveats which are not obvious.
Yes you'll need to overload the Node classes __add__, __mul__ etc methods and then modifying the underlying tensors based on their backends. I would recommend adding them to the BaseNode class and throwing NotImplemented errors for node types that don't support these types of ops. (For example, CopyNode shouldn't support these operations.)
You'll then need to add the add, multiply, etc operations to BaseBackend and then add them to the concrete backend classes.
@Thenerdstation How is this issue going on? I checked the PR of this issue but seems not merged yet. Seems add, sub is made and mul, div yet can I work on this issue?
Activity
miriyalavignesh commentedon Oct 4, 2019
Hey I want to work on this issue, I am guessing this should be little bit straight forward. Since this is mostly implementing operator overloading for TensorNetwork, please let me know if there are more caveats which are not obvious.
chaserileyroberts commentedon Oct 11, 2019
Great! Go for it.
Yes you'll need to overload the
Nodeclasses__add__,__mul__etc methods and then modifying the underlying tensors based on their backends. I would recommend adding them to theBaseNodeclass and throwingNotImplementederrors for node types that don't support these types of ops. (For example,CopyNodeshouldn't support these operations.)You'll then need to add the
add,multiply, etc operations toBaseBackendand then add them to the concrete backend classes.IllgamhoDuck commentedon Jan 19, 2020
@Thenerdstation How is this issue going on? I checked the PR of this issue but seems not merged yet. Seems add, sub is made and mul, div yet can I work on this issue?
Algebraic operation mul, div for BaseNode class (google#292)
Algebraic operation add( + ), sub( - ), mul( * ), div( / ) for BaseNo…
Add test cases for Tensorflow Algebraic operation and fix add, sub na…
Add test cases for Tensorflow Algebraic operation and fix add, sub na…
Algebraic operation add( + ), sub( - ), mul( * ), div( / ) for BaseNo…
Block sparse merged (#451)
Block sparse merged (#452)
fix bug (#454)
Block sparse merged (#458)
add svd (#459)
fix bug in svd (#460)
eig, eigh, svd, qr (#461)