Skip to content

Fix docstring nits#3758

Open
ishtihoss wants to merge 1 commit into
ml-explore:mainfrom
ishtihoss:fix-doc-nits
Open

Fix docstring nits#3758
ishtihoss wants to merge 1 commit into
ml-explore:mainfrom
ishtihoss:fix-doc-nits

Conversation

@ishtihoss

Copy link
Copy Markdown
Contributor

Summary

  • fix the margin_ranking_loss example output for the default reduction='none'
  • fix the Bilinear docstring formula and weight shape order

Tests

  • /Users/porkr/projects/contributor/.venv/bin/black --check python/mlx/nn/losses.py python/mlx/nn/layers/linear.py
  • PYTHONPATH=python:python/tests /Users/porkr/projects/contributor/.venv/bin/python -m unittest python.tests.test_losses.TestLosses.test_margin_ranking_loss python.tests.test_nn.TestLayers.test_bilinear -v

Comment thread python/mlx/nn/layers/linear.py

@zcbenz zcbenz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

2 participants