scripts/models/wider_resnet.py [29:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if len(structure) != 6:
            raise ValueError("Expected a structure with six values")

        # Initial layers
        self.mod1 = nn.Sequential(
            OrderedDict(
                [("conv1", nn.Conv2d(3, 64, 3, stride=1, padding=1, bias=False))]
            )
        )

        # Groups of residual blocks
        in_channels = 64
        channels = [
            (128, 128),
            (256, 256),
            (512, 512),
            (512, 1024),
            (512, 1024, 2048),
            (1024, 2048, 4096),
        ]
        for mod_id, num in enumerate(structure):
            # Create blocks for module
            blocks = []
            for block_id in range(num):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



scripts/models/wider_resnet.py [122:145]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if len(structure) != 6:
            raise ValueError("Expected a structure with six values")

        # Initial layers
        self.mod1 = nn.Sequential(
            OrderedDict(
                [("conv1", nn.Conv2d(3, 64, 3, stride=1, padding=1, bias=False))]
            )
        )

        # Groups of residual blocks
        in_channels = 64
        channels = [
            (128, 128),
            (256, 256),
            (512, 512),
            (512, 1024),
            (512, 1024, 2048),
            (1024, 2048, 4096),
        ]
        for mod_id, num in enumerate(structure):
            # Create blocks for module
            blocks = []
            for block_id in range(num):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



