Experiment - forward method
Problem:You have built a simple neural network in PyTorch but the model's forward method is not correctly implemented. As a result, the model does not produce valid predictions and training metrics are poor.
Current Metrics:Training loss: 2.3, Training accuracy: 10%, Validation loss: 2.3, Validation accuracy: 10%
Issue:The forward method does not correctly pass input through the layers, causing the model to output random predictions and fail to learn.