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
When initializing the FrEIA.modules.Split module as follows:
dim_in = (10,) split_dims = (4, 3) m = Split(dim_in, split_dims)
We get m.split_size_or_sections == None Expected behaviour: m.split_size_or_sections == (4, 3, 3) Suggested fix: Change l.70 of modules/graph_topology.py from section_sizes = list(section_sizes).append(l_dim - sum(section_sizes)) to section_sizes = list(section_sizes) + [l_dim - sum(section_sizes)]
m.split_size_or_sections == None
m.split_size_or_sections == (4, 3, 3)
section_sizes = list(section_sizes).append(l_dim - sum(section_sizes))
section_sizes = list(section_sizes) + [l_dim - sum(section_sizes)]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When initializing the FrEIA.modules.Split module as follows:
We get
m.split_size_or_sections == None
Expected behaviour:
m.split_size_or_sections == (4, 3, 3)
Suggested fix:
Change l.70 of modules/graph_topology.py from
section_sizes = list(section_sizes).append(l_dim - sum(section_sizes))
tosection_sizes = list(section_sizes) + [l_dim - sum(section_sizes)]
The text was updated successfully, but these errors were encountered: