Skip to content

Fix training bug and circular import#2

Closed
rgs2151 wants to merge 1 commit intomainfrom
863xpt-codex/find-and-fix-a-bug-in-codebase
Closed

Fix training bug and circular import#2
rgs2151 wants to merge 1 commit intomainfrom
863xpt-codex/find-and-fix-a-bug-in-codebase

Conversation

@rgs2151
Copy link
Copy Markdown
Owner

@rgs2151 rgs2151 commented Jun 3, 2025

Summary

  • fix error handling in loss constructor
  • pass learning rate during backprop for Model
  • improve Model.__repr__
  • use local import for Errors to avoid circular import

Testing

  • python demo_xor.py

https://chatgpt.com/codex/tasks/task_e_683f68ea432c8332a06c3d435e6f1d6c

@rgs2151 rgs2151 closed this Oct 8, 2025
@rgs2151 rgs2151 deleted the 863xpt-codex/find-and-fix-a-bug-in-codebase branch October 8, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant