Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ivarflakstad
Copy link
Member

I noticed that Slice { indicies } is a RVec<Range<usize>>. We can change the cpu slice function to accept this type instead of start and stop being &[usize] if that is preferred.

I go from indices to start/stop using let (start, stop): (Vec<_>, Vec<_>) = s.indices().iter().map(|r| (r.start, r.end)).unzip();

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 4, 2024

Open in Stackblitz

npm i https://pkg.pr.new/huggingface/ratchet/@ratchet/ratchet-web@261

commit: 08900c2

@FL33TW00D FL33TW00D merged commit b9d106f into master Nov 4, 2024
3 of 6 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.

3 participants