class net(nn.Module):
def __init__(self):
super().__init__()
self.l1=nn.Linear(200,200)
self.b1=nn.BatchNorm1d(200)
self.d1=nn.Dropout(p=.3)
self.l2=nn.Linear(200,200)
self.b2=nn.BatchNorm1d(200)
self.d2=nn.Dropout(p=.3)
self.l3=nn.Linear(200,100)
self.b3=nn.BatchNorm1d(100)
self.d3=nn.Dropout(p=.3)
self.l4=nn.Linear(100,100)
self.b4=nn.BatchNorm1d(100)
self.d4=nn.Dropout(p=.3)
self.l5=nn.Linear(100,50)
self.b5=nn.BatchNorm1d(50)
self.d5=nn.Dropout(p=.3)
self.l6=nn.Linear(50,50)
self.b6=nn.BatchNorm1d(50)
self.d6=nn.Dropout(p=.3)
self.l7=nn.Linear(50,10)
def forward(self,x):
x200=self.d2(self.b2(F.relu(self.l2(self.d1(self.b1(F.relu(self.l1(x)))))))+x
x100=F.relu(self.l3(x200))
x100x=self.b4(self.d4(F.relu(self.l4(self.b3(self.d3(x100)))))+x100
x50=F.relu(self.l5(x100x))
x50_=self.b6(self.d6(F.relu(self.l5(self.b5(self.d5(x50)))))+x50
x10=F.relu(self.l7(x50_))
return x10
File "<ipython-input-14-8f4102c2f059>", line 30
x100=F.relu(self.l3(x200))
^
SyntaxError: invalid syntax
how to fix it?strong text