We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In config.gin, I cannot do something like
config.gin
GAT.embed_dim = 30 # this is for init of GAT Attention.node_ft_dim = GAT.__init__.embed_dim # Attention.node_ft_dim = GAT.embed_dim # this won't work too
It won't work even when I
@gin.register @gin.configurable class GAT(nn.Module):
Is this feature implemented?
The text was updated successfully, but these errors were encountered:
@minhtriet Same here, was looking for this feature!
Sorry, something went wrong.
A workaround for this might be to use a MACRO
EMBED_DIM = 30 GAT.embed_dim = %EMBED_DIM Attention.node_ft_dim = %EMBED_DIM
is there a way to do calculations with macros like this?
EMBED_DIM = 30 GAT.embed_dim = 2*%EMBED_DIM
No branches or pull requests
In
config.gin
, I cannot do something likeIt won't work even when I
Is this feature implemented?
The text was updated successfully, but these errors were encountered: