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

Porting Sub Sequence Operator #5545

Closed
wanghaox opened this issue Nov 10, 2017 · 0 comments · Fixed by #5546
Closed

Porting Sub Sequence Operator #5545

wanghaox opened this issue Nov 10, 2017 · 0 comments · Fixed by #5546

Comments

@wanghaox
Copy link
Contributor

The SubSequence operator crop a subsequence from given sequence with given start offset and subsequence size.
It only supports sequence (LoD Tensor with the level number is 1).

Case:

    LoD(x) = {{0, 3, 6, 10}}; Dims(x0) = (10, 3, 2)
    offset = (0, 1, 1); size = (2, 1, 2)
    LoD(Out) = {{0, 2, 3, 5}}; Dims(Out) = (5,3,2)
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 a pull request may close this issue.

1 participant