(self, num_branches, block, num_blocks, num_channels)
| 433 | return nn.Sequential(*layers) |
| 434 | |
| 435 | def _make_branches(self, num_branches, block, num_blocks, num_channels): |
| 436 | branches = [] |
| 437 | for i in range(num_branches): |
| 438 | branches.append(self._make_one_branch(i, block, num_blocks, num_channels)) |
| 439 | |
| 440 | return nn.ModuleList(branches) |
| 441 | |
| 442 | def _make_fuse_layers(self): |
| 443 | if self.num_branches == 1: |
no test coverage detected