Skip to content
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

Fix and clean up code for mean and sum functions. #52

Merged
merged 11 commits into from
Mar 3, 2025
Merged

Fix and clean up code for mean and sum functions. #52

merged 11 commits into from
Mar 3, 2025

Conversation

Iainmon
Copy link
Owner

@Iainmon Iainmon commented Mar 3, 2025

  • Fix issue with sum and mean functions on tensors.
  • Add dynamic shape functionality for dynamicTensor
  • Add squeeze, reshape, and unsqueeze methods to dynamicTensor.

@Iainmon
Copy link
Owner Author

Iainmon commented Mar 3, 2025

Still needs some work but I want to get this merged ASAP.

@Iainmon
Copy link
Owner Author

Iainmon commented Mar 3, 2025

All tests that should pass, pass:

(.venv) ➜  correspondence git:(im-dev) python3 correspondence.py                                                                                 
🌱 activation/rrelu
🌱 activation/gelu
🌱 activation/hardtanh
🌱 activation/silu
🌱 activation/celu
🌱 activation/softsign
🌱 activation/softplus
🌱 activation/leakyrelu
🌱 activation/softshrink
🌱 activation/selu
🌱 activation/tanhshrink
🌱 activation/mish
🌱 activation/threshold
🌱 activation/tanh
🌱 activation/hardshrink
🌱 activation/relu
🌱 activation/sigmoid
🌱 activation/logsigmoid
🌱 activation/elu
🌱 activation/hardswish
🌱 activation/relu6
🌱 reduction/mean
🌱 reduction/sum
🌱 construction/arange
🌱 construction/ones
✅ activation/rrelu
✅ activation/gelu
✅ activation/hardtanh
✅ activation/silu
✅ activation/celu
✅ activation/softsign
❌ activation/softplus
❌ activation/leakyrelu
✅ activation/softshrink
✅ activation/selu
✅ activation/tanhshrink
❌ activation/mish
✅ activation/threshold
✅ activation/tanh
✅ activation/hardshrink
✅ activation/relu
❌ activation/sigmoid
❌ activation/logsigmoid
✅ activation/elu
❌ activation/hardswish
✅ activation/relu6
✅ reduction/mean
✅ reduction/sum
✅ construction/arange
✅ construction/ones
Failed Chapel compilations tests: []
Failed Python tests: []
Tests to fix: ['softplus', 'leakyrelu', 'mish', 'sigmoid', 'logsigmoid', 'hardswish']

@Iainmon Iainmon merged commit 6f329bd into main Mar 3, 2025
2 checks passed
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