Closed hohyun312 closed 1 year ago
Hi @hohyun312, thanks for opening this issue. You're right that the docstring does not match the code, this is probably due to me iterating through the architecture and not updating the doc.
You're welcome to open a PR that fixes the docstring, or possibly makes the concatenation of the conditional information embedding (c
) an optional flag. If not I'll get to it eventually :)
Fixed by #104
I think I found inconsistency in the
GraphTransformer
doc string and the implementation of it, which are located atgflownet/models/graph_transformer.py
. I don't think it is a critical flaw, but may impact the performance, as it is not intended.Here is what current doc string says:
And here is the current implementation of
GraphTransformer
:There are two problems:
For the first option (fix doc string), the code should be fixed something like this:
And the corresponding doc string should be something like: