human
Write me a the Python program you requested given the following:
I am working on the file "DL0110EN/4.3.2mist1layer.ipynb".
The first task is:
<a id="ref1"></a>
<h2 align=center>Neural Network Module and Training Function </h2>

Define the neural network module or class:
Can you write Python program for it?
assistant
#Here is the Python program you requested.

class Net(nn.Module):
    def __init__(self,D_in,H,D_out):
        super(Net,self).__init__()
        self.linear1=nn.Linear(D_in,H)
        self.linear2=nn.Linear(H,D_out)
       
    def forward(self,x):
        x=torch.sigmoid(self.linear1(x))  
        x=self.linear2(x)
        return x