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

Implement the Narrow operation for Dense tensors. #120

Merged
merged 3 commits into from
Oct 18, 2021
Merged

Implement the Narrow operation for Dense tensors. #120

merged 3 commits into from
Oct 18, 2021

Conversation

dcu
Copy link
Contributor

@dcu dcu commented Oct 16, 2021

Also, implemented a default slicer

@dcu dcu requested a review from chewxy October 16, 2021 14:17
@coveralls
Copy link

coveralls commented Oct 16, 2021

Coverage Status

Coverage increased (+0.05%) to 21.865% when pulling f4eae3f on narrow-op into bfdc96b on master.

Also, implemented a default slicer
dcu and others added 2 commits October 16, 2021 10:21
This seems like a bug with the non contiguous View implementation
@@ -34,3 +34,39 @@ type ss int
func (s ss) Start() int { return int(s) }
func (s ss) End() int { return int(s) + 1 }
func (s ss) Step() int { return 0 }

Copy link
Member

Choose a reason for hiding this comment

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

Oh nice, you exported S ....

@chewxy chewxy merged commit 77f08ec into master Oct 18, 2021
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.

None yet

3 participants