Skip to content

Needs clarification on self.input_size_total of _VariableSelectionNetwork #2817

@kev-leehc

Description

@kev-leehc

return sum(
size if name in self.input_embedding_flags else size
for name, size in self.input_sizes.items()
)

Thanks for checking this issue.
I wonder whether the if-else statement is typo or not?

size if name in self.input_embedding_flags else size 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions