Update api_def_StridedSlice.pbtxt

This commit is contained in:
nihui 2020-06-06 12:00:15 +08:00 committed by GitHub
parent 4d7aadeda1
commit 8b81960fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -123,11 +123,11 @@ particular,
begin = [1, 2, x, x, 0, x] # x denotes don't care (usually 0) begin = [1, 2, x, x, 0, x] # x denotes don't care (usually 0)
end = [2, 4, x, x, -3, x] end = [2, 4, x, x, -3, x]
strides = [1, 1, x, x, -1, 1] strides = [1, 1, x, x, -1, 1]
begin_mask = 1<<4 | 1 << 5 = 48 begin_mask = 1<<4 | 1<<5 = 48
end_mask = 1<<5 = 32 end_mask = 1<<5 = 32
ellipsis_mask = 1<<3 = 8 ellipsis_mask = 1<<3 = 8
new_axis_mask = 1<<2 4 new_axis_mask = 1<<2 = 4
shrink_axis_mask = 1<<0 shrink_axis_mask = 1<<0 = 1
``` ```
In this case if `foo.shape` is (5, 5, 5, 5, 5, 5) the final shape of In this case if `foo.shape` is (5, 5, 5, 5, 5, 5) the final shape of