Skip to content

Fix incorrect print variable for output result in sequential api task, PyTorch Lab 1 #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MrPoll0
Copy link

@MrPoll0 MrPoll0 commented Jun 26, 2025

Previously, the output result for the part where the model uses the Sequential API was printing the y variable, which was calculated for the previous task (OurDenseLayer), instead of the model_output variable which is the one properly calculating the output for this task.

This mistake caused both prints to output the same tensor result, which is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant