Skip to content

Conversation

@cijinsama
Copy link

Main change features:

  • Allow nested list/tuple input/output like
    def forward(self, x: torch.Tensor, y: List[Tuple[torch.Tensor, torch.Tensor, ...]]):
        ...
        return c, [(mean_1, var_1, weight_1), (mean_2, var_2, weight_2), ...]
  • Allow input/output with None in list/tuple

@cijinsama cijinsama closed this Jan 28, 2024
@cijinsama cijinsama reopened this Jan 28, 2024
Copy link

@willyfh willyfh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left few comments in the file changes. In addition, is it appropriate to use a public function instead of the private one? (Using _ in front of the function name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants