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

feature(tensor): Add chunk op #998

Merged
merged 4 commits into from
Nov 27, 2023
Merged

Conversation

dcvz
Copy link
Contributor

@dcvz dcvz commented Nov 24, 2023

Pull Request Template

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

Solves #970 (at least at a base implementation). I believe @Kelvinyu1117 might be working on a backend optimized version. I needed to implement this for my project, so thought I'd PR it.

Changes

Adds a base tensor implementation for chunking.

Testing

Tests have been made for the different cases for chunk.

@Kelvinyu1117
Copy link
Contributor

yup, probably I can do it on top of this PR.
I'm still looking at how can we fall back to our own implementation if the backend doesn't implement.

@nathanielsimard nathanielsimard merged commit 929b178 into tracel-ai:main Nov 27, 2023
6 checks passed
@agelas agelas mentioned this pull request Nov 15, 2024
2 tasks
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.

3 participants