Merge pull request #40181 from nihui:patch-1

PiperOrigin-RevId: 316587665
Change-Id: I85c69c4193fd0b41d02dcc9dae65845dc3aaa3b6
This commit is contained in:
TensorFlower Gardener 2020-06-15 18:34:39 -07:00
commit 8b14fb8e16
2 changed files with 6 additions and 6 deletions

View File

@ -9098,11 +9098,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

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