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

Add Tensor.Op.Slice. #9

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Add Tensor.Op.Slice. #9

merged 1 commit into from
Apr 3, 2023

Conversation

jemc
Copy link
Contributor

@jemc jemc commented Apr 3, 2023

Creates a new output tensor from a contiguous slice of the given input tensor.

Data will be taken from all dimensions of the input tensor, beginning at the indices indicated by the begin_indices operand, and continuing up through contiguous elements for the sizes indicated by the output_shape operand. Both of these operands must therefore be vectors (rank-1 tensors) with the same number of elements as the total dimension count of the input.

Creates a new output tensor from a contiguous slice of the given input tensor.

Data will be taken from all dimensions of the input tensor, beginning at
the indices indicated by the `begin_indices` operand, and continuing up
through contiguous elements for the sizes indicated by the `output_shape`
operand. Both of these operands must therefore be vectors (rank-1 tensors)
with the same number of elements as the total dimension count of the input.
@jemc jemc self-assigned this Apr 3, 2023
@jemc jemc merged commit c7bb83d into main Apr 3, 2023
@jemc jemc deleted the add/slice-op branch April 3, 2023 21:26
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

1 participant