Skip to content

Added option to see the model's equation#245

Open
tiagofabre wants to merge 2 commits intotensorflow:masterfrom
tiagofabre:model-equation
Open

Added option to see the model's equation#245
tiagofabre wants to merge 2 commits intotensorflow:masterfrom
tiagofabre:model-equation

Conversation

@tiagofabre
Copy link
Copy Markdown

Add KaTeX support for rendering equations and enhance UI for equation… display

  • Integrated KaTeX for rendering mathematical equations in the neural network playground.
  • Added a new equation legend section to provide human-readable mappings for network equations.
  • Updated the UI to include a toggle for displaying model equations and their legends.
  • Enhanced the layout and styling of the equation panel for better visibility and usability.
  • Updated package dependencies to include KaTeX and modified build scripts accordingly.
Screenshot 2026-04-05 at 17 26 36 Screenshot 2026-04-05 at 17 26 46 Screenshot 2026-04-05 at 17 39 41

@google-cla
Copy link
Copy Markdown

google-cla bot commented Apr 5, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

… display

- Integrated KaTeX for rendering mathematical equations in the neural network playground.
- Added a new equation legend section to provide human-readable mappings for network equations.
- Updated the UI to include a toggle for displaying model equations and their legends.
- Enhanced the layout and styling of the equation panel for better visibility and usability.
- Updated package dependencies to include KaTeX and modified build scripts accordingly.

Made-with: Cursor
- Updated the HTML structure to include distinct sections for forward pass, training objective, backpropagation, and weight updates in the equation panel.
- Introduced new CSS styles for better layout and visibility of equation blocks and descriptions.
- Implemented TypeScript functions to generate detailed descriptions for each equation component.
- Enhanced the UI to render training notation alongside existing equations, improving user understanding of the training process.
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