어제에 이어서 하도록 하겠습니다.class SimpleANN(nn.Module): def __init__(self): super(SimpleANN, self).__init__() self.fc1 = nn.Linear(28 * 28, 128) # 입력층에서 은닉층으로 self.fc2 = nn.Linear(128, 64) # 은닉층에서 은닉층으로 self.fc3 = nn.Linear(64, 10) # 은닉층에서 출력층으로 def forward(self, x): x = x.view(-1, 28 * 28) # 입력 이미지를 1차원 벡터로 변환 x = torch.relu(self.fc1(x)) ..