Possibility for cyclic graph support? #5
lcorcodilos
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm curious what thoughts there are on producing graphs with cycles. I know this is essentially disallowed currently because of this line. But below is a simple example of the type of thing I'd like to be able to do.
This plots perfectly fine and as I'd expect but fails on
sol.compute()
as expected. I'm not a computational graph expert so I'm wondering if there are any fundamental blockers to supporting this type of feature. As far as I can tell, the topological sort is used just when looking for unsatisfied operations. Maybe there's another way to do this search that doesn't require the sort? Thanks for taking a look!Beta Was this translation helpful? Give feedback.
All reactions