def forward(self, x):
    x = self.features(x)
    x_1 = self.dense_block_1_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_6(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_1(x)
    x_1 = self.dense_block_2_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_12(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_2(x)
    x_1 = self.dense_block_3_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_12(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_13(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_14(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_15(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_16(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_17(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_18(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_19(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_20(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_21(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_22(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_23(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_24(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_3(x)
    x_1 = self.dense_block_4_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_12(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_13(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_14(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_15(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_16(x)
    x = torch.cat([x, x_1], 1)
    x = self.avgpool(x)
    x = torch.flatten(x, 1)
    x = self.classifier(x)
    return x
def forward(self, x):
    x = self.features(x)
    x_1 = self.dense_block_1_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_1_6(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_1(x)
    x_1 = self.dense_block_2_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_2_12(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_2(x)
    x_1 = self.dense_block_3_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_12(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_13(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_14(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_15(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_16(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_17(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_18(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_19(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_20(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_21(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_22(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_23(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_3_24(x)
    x = torch.cat([x, x_1], 1)
    x = self.transition_block_3(x)
    x_1 = self.dense_block_4_1(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_2(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_3(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_4(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_5(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_6(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_7(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_8(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_9(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_10(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_11(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_12(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_13(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_14(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_15(x)
    x = torch.cat([x, x_1], 1)
    x_1 = self.dense_block_4_16(x)
    x = torch.cat([x, x_1], 1)
    x = self.avgpool(x)
    x = torch.flatten(x, 1)
    x = self.classifier(x)
    return x