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/feature dimension #26

Merged
merged 4 commits into from
Aug 24, 2023
Merged

Fix/feature dimension #26

merged 4 commits into from
Aug 24, 2023

Conversation

L-M-Sherlock
Copy link
Member

@L-M-Sherlock L-M-Sherlock commented Aug 24, 2023

Fixes #24. It's pretty fast. And I added more tests for the model. Thanks to the support from @nathanielsimard.

@L-M-Sherlock L-M-Sherlock added the bug Something isn't working label Aug 24, 2023
Copy link
Collaborator

@dae dae left a comment

Choose a reason for hiding this comment

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

I measure about a 9x performance increase - that's great! The added tests are a welcome addition too. Thank you both.

@dae dae merged commit 75c1622 into main Aug 24, 2023
2 checks passed
@dae dae deleted the Fix/feature-dimension branch August 24, 2023 18:21
@dae
Copy link
Collaborator

dae commented Aug 24, 2023

Sorry, I didn't notice you'd requested a review from @asukaminato0721 as well, or I would have waited to merge.

L-M-Sherlock added a commit that referenced this pull request Sep 21, 2023
revert modification in Fix/feature dimension (#26)
dae pushed a commit that referenced this pull request Sep 22, 2023
* small change

* .map(|x| [x])

* reduce noise

* remove feature dimension

revert modification in Fix/feature dimension (#26)

* remove unnecessary unsqueeze()

* remove slice

* miss some convert

* slice to get

* remove redundant clone

* remove w() to w.val()

---------

Co-authored-by: Jarrett Ye <jarrett.ye@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TODO] fix: ndarray broadcast error in mini-batch
2 participants