Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
3d0b2be5
Commit
3d0b2be5
authored
Jun 14, 2019
by
Adam Procter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerate dyn_slice_test.in.cpp
parent
af31f4aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
762 additions
and
174 deletions
+762
-174
dyn_slice_test.in.cpp
test/dyn_slice_test.in.cpp
+762
-174
No files found.
test/dyn_slice_test.in.cpp
View file @
3d0b2be5
...
...
@@ -643,11 +643,158 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_23)
std
::
vector
<
int32_t
>
{
4
,
2
,
0
});
}
// slices are: [1:-5:-1]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_24
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
int32_t
>
{
1
});
}
// slices are: [1:-1:-1]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_25
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
int32_t
>
{});
}
// slices are: [1:]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_26
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
4
},
std
::
vector
<
int32_t
>
{
1
,
2
,
3
,
4
});
}
// slices are: [1::-1]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_27
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int32_t
>
{
1
,
0
});
}
// slices are: [-5:5:2]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_28
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
int32_t
>
{
0
,
2
,
4
});
}
// slices are: [-1:5:1]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_29
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
int32_t
>
{
4
});
}
// slices are: [-1:1:1]
// dtype is: int32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_30
)
{
check_success
<
int32_t
>
(
element
::
i32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
int32_t
>
{});
}
// slices are: [5:2:-3]
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
24
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
31
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -668,7 +815,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_24)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
25
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
32
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -689,7 +836,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_25)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
26
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
33
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -710,7 +857,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_26)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
27
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
34
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -731,7 +878,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_27)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
28
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
35
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -752,7 +899,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_28)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
29
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
36
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -773,7 +920,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_29)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
0
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
7
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -794,7 +941,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_30)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
1
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
8
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -815,7 +962,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_31)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
2
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_3
9
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -836,7 +983,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_32)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
33
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
40
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -857,7 +1004,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_33)
// dtype is: int32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
34
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
41
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -878,7 +1025,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_34)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1,3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
35
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
42
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -899,7 +1046,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_35)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
36
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
43
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -920,7 +1067,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_36)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
37
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
44
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -941,7 +1088,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_37)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
38
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
45
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -962,7 +1109,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_38)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
39
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
46
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -983,7 +1130,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_39)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
0
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
7
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1004,7 +1151,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_40)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
1
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
8
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1025,7 +1172,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_41)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
2
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_4
9
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1046,7 +1193,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_42)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
43
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
50
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1067,7 +1214,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_43)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
44
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
51
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1088,7 +1235,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_44)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
45
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
52
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1109,7 +1256,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_45)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
46
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
53
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1130,7 +1277,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_46)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
47
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
54
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1151,7 +1298,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_47)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8,1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
48
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
55
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1172,7 +1319,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_48)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
49
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
56
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1193,7 +1340,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_49)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
0
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
7
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1214,7 +1361,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_50)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
1
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
8
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1235,7 +1382,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_51)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
2
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_5
9
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1256,7 +1403,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_52)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
53
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
60
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1277,7 +1424,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_53)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
54
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
61
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1298,7 +1445,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_54)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
55
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
62
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1319,7 +1466,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_55)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
56
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
63
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1340,7 +1487,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_56)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
57
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
64
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1361,7 +1508,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_57)
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
58
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
65
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1378,79 +1525,226 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_58)
std
::
vector
<
int64_t
>
{
4
,
2
,
0
});
}
// slices are: [
5:2:-3
]
// slices are: [
1:-5:-1
]
// dtype is: int64
// input shape is: Shape{
8
}
// input shape is: Shape{
5
}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
59
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
66
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
std
::
vector
<
int64_t
>
{
-
3
},
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
int64_t
>
{
5
});
std
::
vector
<
int64_t
>
{
1
});
}
// slices are: [
5:1:-3
]
// slices are: [
1:-1:-1
]
// dtype is: int64
// input shape is: Shape{
8
}
// expected output shape is Shape{
2
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
0
)
// input shape is: Shape{
5
}
// expected output shape is Shape{
0
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
7
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
3
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int64_t
>
{
5
,
2
});
Shape
{
0
},
std
::
vector
<
int64_t
>
{});
}
// slices are: [
5:0:-3
]
// slices are: [
1:
]
// dtype is: int64
// input shape is: Shape{
8
}
// expected output shape is Shape{
2
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
1
)
// input shape is: Shape{
5
}
// expected output shape is Shape{
4
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
8
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
3
},
AxisSet
{},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int64_t
>
{
5
,
2
});
Shape
{
4
},
std
::
vector
<
int64_t
>
{
1
,
2
,
3
,
4
});
}
// slices are: [
5::-3
]
// slices are: [
1::-1
]
// dtype is: int64
// input shape is: Shape{
8
}
// input shape is: Shape{
5
}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
2
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_6
9
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int64_t
>
{
1
,
0
});
}
// slices are: [-5:5:2]
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_70
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
int64_t
>
{
0
,
2
,
4
});
}
// slices are: [-1:5:1]
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_71
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
int64_t
>
{
4
});
}
// slices are: [-1:1:1]
// dtype is: int64
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_72
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
int64_t
>
{});
}
// slices are: [5:2:-3]
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_73
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
std
::
vector
<
int64_t
>
{
-
3
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
int64_t
>
{
5
});
}
// slices are: [5:1:-3]
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_74
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
3
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int64_t
>
{
5
,
2
});
}
// slices are: [5:0:-3]
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_75
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
3
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
int64_t
>
{
5
,
2
});
}
// slices are: [5::-3]
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_76
)
{
check_success
<
int64_t
>
(
element
::
i64
,
Shape
{
8
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
3
},
AxisSet
{},
...
...
@@ -1466,7 +1760,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_62)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
63
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
77
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1487,7 +1781,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_63)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
64
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
78
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1508,7 +1802,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_64)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
65
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
79
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1529,7 +1823,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_65)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
66
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
80
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1550,7 +1844,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_66)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
67
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
81
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1571,7 +1865,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_67)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
68
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
82
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1592,7 +1886,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_68)
// dtype is: int64
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
69
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
83
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -1613,7 +1907,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_69)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1,3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
70
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
84
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1634,7 +1928,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_70)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
71
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
85
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1655,7 +1949,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_71)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
72
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
86
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1676,7 +1970,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_72)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
73
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
87
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1697,7 +1991,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_73)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
74
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
88
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1718,7 +2012,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_74)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
75
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
89
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1739,7 +2033,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_75)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
76
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
90
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1760,7 +2054,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_76)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
77
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
91
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1781,7 +2075,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_77)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
78
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
92
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1802,7 +2096,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_78)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
79
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
93
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1823,7 +2117,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_79)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
80
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
94
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1844,7 +2138,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_80)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
81
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
95
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1865,7 +2159,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_81)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
82
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
96
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1886,7 +2180,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_82)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8,1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
83
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
97
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1907,7 +2201,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_83)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
84
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
98
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1928,7 +2222,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_84)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
85
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
99
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1949,7 +2243,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_85)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
86
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
100
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1970,7 +2264,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_86)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
87
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
101
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -1991,7 +2285,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_87)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
88
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
102
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2012,7 +2306,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_88)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
89
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
103
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2033,7 +2327,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_89)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
90
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
104
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2054,7 +2348,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_90)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
91
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
105
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2075,7 +2369,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_91)
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
92
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
106
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2088,36 +2382,183 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_92)
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
float
>
{});
Shape
{
0
},
std
::
vector
<
float
>
{});
}
// slices are: [4::-2]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_107
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
4
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
2
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
float
>
{
4.0
,
2.0
,
0.0
});
}
// slices are: [1:-5:-1]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_108
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
float
>
{
1.0
});
}
// slices are: [1:-1:-1]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_109
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
float
>
{});
}
// slices are: [1:]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_110
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
4
},
std
::
vector
<
float
>
{
1.0
,
2.0
,
3.0
,
4.0
});
}
// slices are: [1::-1]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_111
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
float
>
{
1.0
,
0.0
});
}
// slices are: [-5:5:2]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_112
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
float
>
{
0.0
,
2.0
,
4.0
});
}
// slices are: [-1:5:1]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_113
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
float
>
{
4.0
});
}
// slices are: [
4::-2
]
// slices are: [
-1:1:1
]
// dtype is: float32
// input shape is: Shape{5}
// expected output shape is Shape{
3
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
93
)
// expected output shape is Shape{
0
}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
114
)
{
check_success
<
float
>
(
element
::
f32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
4
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
2
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
float
>
{
4.0
,
2.0
,
0.0
});
AxisSet
{},
Shape
{
0
},
std
::
vector
<
float
>
{});
}
// slices are: [5:2:-3]
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
94
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
115
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2138,7 +2579,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_94)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
95
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
116
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2159,7 +2600,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_95)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
96
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
117
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2180,7 +2621,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_96)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
97
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
118
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2201,7 +2642,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_97)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
98
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
119
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2222,7 +2663,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_98)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
99
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_
120
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2243,7 +2684,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_99)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
00
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
21
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2264,7 +2705,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_100)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
01
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
22
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2285,7 +2726,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_101)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
02
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
23
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2306,7 +2747,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_102)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
03
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
24
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2327,7 +2768,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_103)
// dtype is: float32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
04
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
25
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -2348,7 +2789,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_104)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1,3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
05
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
26
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2369,7 +2810,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_105)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
06
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
27
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2390,7 +2831,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_106)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
07
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
28
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2411,7 +2852,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_107)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
08
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
29
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2432,7 +2873,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_108)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
09
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
30
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2453,7 +2894,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_109)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
10
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
31
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2474,7 +2915,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_110)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
11
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
32
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2495,7 +2936,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_111)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
12
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
33
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2516,7 +2957,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_112)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
13
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
34
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2537,7 +2978,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_113)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
14
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
35
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2558,7 +2999,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_114)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
15
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
36
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2579,7 +3020,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_115)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
16
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
37
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2600,7 +3041,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_116)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
17
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
38
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2621,7 +3062,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_117)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1,1,8,1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
18
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
39
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2642,7 +3083,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_118)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
19
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
40
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2663,7 +3104,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_119)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
20
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
41
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2684,7 +3125,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_120)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
21
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
42
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2705,7 +3146,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_121)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
22
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
43
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2726,7 +3167,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_122)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
23
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
44
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2747,7 +3188,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_123)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
24
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
45
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2768,7 +3209,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_124)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
25
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
46
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2789,7 +3230,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_125)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
26
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
47
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2810,7 +3251,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_126)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
27
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
48
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2831,7 +3272,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_127)
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
28
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
49
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2848,11 +3289,158 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_128)
std
::
vector
<
uint32_t
>
{
4
,
2
,
0
});
}
// slices are: [1:-5:-1]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_150
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
uint32_t
>
{
1
});
}
// slices are: [1:-1:-1]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_151
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
uint32_t
>
{});
}
// slices are: [1:]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_152
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
4
},
std
::
vector
<
uint32_t
>
{
1
,
2
,
3
,
4
});
}
// slices are: [1::-1]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_153
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
0
},
std
::
vector
<
int64_t
>
{
-
1
},
AxisSet
{},
AxisSet
{
0
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
2
},
std
::
vector
<
uint32_t
>
{
1
,
0
});
}
// slices are: [-5:5:2]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_154
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
5
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
2
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
3
},
std
::
vector
<
uint32_t
>
{
0
,
2
,
4
});
}
// slices are: [-1:5:1]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_155
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
5
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
1
},
std
::
vector
<
uint32_t
>
{
4
});
}
// slices are: [-1:1:1]
// dtype is: uint32
// input shape is: Shape{5}
// expected output shape is Shape{0}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_156
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
Shape
{
5
},
std
::
vector
<
int64_t
>
{
-
1
},
std
::
vector
<
int64_t
>
{
1
},
std
::
vector
<
int64_t
>
{
1
},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
AxisSet
{},
Shape
{
0
},
std
::
vector
<
uint32_t
>
{});
}
// slices are: [5:2:-3]
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
29
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
57
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2873,7 +3461,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_129)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
30
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
58
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2894,7 +3482,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_130)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
31
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
59
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2915,7 +3503,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_131)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
32
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
60
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2936,7 +3524,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_132)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{1}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
33
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
61
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2957,7 +3545,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_133)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
34
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
62
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2978,7 +3566,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_134)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
35
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
63
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -2999,7 +3587,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_135)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
36
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
64
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3020,7 +3608,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_136)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
37
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
65
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3041,7 +3629,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_137)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
38
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
66
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3062,7 +3650,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_138)
// dtype is: uint32
// input shape is: Shape{8}
// expected output shape is Shape{3}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
39
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
67
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3083,7 +3671,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_139)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
40
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
68
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3102,7 +3690,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_140)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
41
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
69
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3121,7 +3709,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_141)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
42
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
70
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3140,7 +3728,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_142)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
43
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
71
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3159,7 +3747,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_143)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
44
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
72
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3178,7 +3766,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_144)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
45
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
73
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3197,7 +3785,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_145)
// dtype is: int32
// input shape is: Shape{8}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
46
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
74
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3216,7 +3804,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_146)
// dtype is: int32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,3,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
47
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
75
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3237,7 +3825,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_147)
// dtype is: int32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
48
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
76
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3258,7 +3846,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_148)
// dtype is: int64
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,3,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
49
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
77
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -3279,7 +3867,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_149)
// dtype is: int64
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
50
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
78
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -3300,7 +3888,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_150)
// dtype is: float32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,3,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
51
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
79
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -3321,7 +3909,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_151)
// dtype is: float32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
52
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
80
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -3342,7 +3930,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_152)
// dtype is: uint32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,3,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
53
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
81
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3363,7 +3951,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_153)
// dtype is: uint32
// input shape is: Shape{2,3,4}
// expected output shape is Shape{1,4}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
54
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
82
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3384,7 +3972,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_154)
// dtype is: int32
// input shape is: Shape{2,4,6,8,2,2,2}
// expected output shape is Shape{2,4,2,2,1,2,2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
55
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
83
)
{
check_success
<
int32_t
>
(
element
::
i32
,
...
...
@@ -3405,7 +3993,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_155)
// dtype is: int64
// input shape is: Shape{2,4,6,8,2,2,2}
// expected output shape is Shape{2,4,2,2,1,2,2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
56
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
84
)
{
check_success
<
int64_t
>
(
element
::
i64
,
...
...
@@ -3426,7 +4014,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_156)
// dtype is: float32
// input shape is: Shape{2,4,6,8,2,2,2}
// expected output shape is Shape{2,4,2,2,1,2,2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
57
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
85
)
{
check_success
<
float
>
(
element
::
f32
,
...
...
@@ -3447,7 +4035,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_157)
// dtype is: uint32
// input shape is: Shape{2,4,6,8,2,2,2}
// expected output shape is Shape{2,4,2,2,1,2,2}
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
58
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
86
)
{
check_success
<
uint32_t
>
(
element
::
u32
,
...
...
@@ -3468,7 +4056,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dyn_slice_158)
// dtype is: int32
// input shape is: Shape{2,4,6,8,2,2,2}
// failure is expected
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
59
)
NGRAPH_TEST
(
$
{
BACKEND_NAME
},
dyn_slice_1
87
)
{
check_failure
<
int32_t
>
(
element
::
i32
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment