I’m using “ModuleList” to create multiple branches, but it turns out all branches output the same result. Mini repo 1. Thank you!
    def _make_branches(self, *layers):
        branches = []
        for i in range(self.num_branches):
            branch = nn.Sequential(*layers)
            branches.append(branch)
            branches = nn.ModuleList(branches)
        return branches