def forward(self, x):
    if (self.num_branches == 1):
        return [self.branches[0](x[0])]
    for i in range(self.num_branches):
        x[i] = self.branches[i](x[i])
    x_fuse = []
    for i in range(len(self.fuse_layers)):
        if (i == 0):
            y = x[0]
        else:
            y = self.fuse_layers[i][0](x[0])
        for j in range(1, self.num_branches):
            if (i == j):
                y = (y + x[j])
            else:
                y = (y + self.fuse_layers[i][j](x[j]))
        x_fuse.append(self.relu(y))
    return x_fuse
def forward(self, x):
    if (self.num_branches == 1):
        return [self.branches[0](x[0])]
    for i in range(self.num_branches):
        x[i] = self.branches[i](x[i])
    x_fuse = []
    for i in range(len(self.fuse_layers)):
        if (i == 0):
            y = x[0]
        else:
            y = self.fuse_layers[i][0](x[0])
        for j in range(1, self.num_branches):
            if (i == j):
                y = (y + x[j])
            else:
                y = (y + self.fuse_layers[i][j](x[j]))
        x_fuse.append(self.relu(y))
    return x_fuse