MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/lite/kernels/strided_slice_test.cc:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75#ifdef GTEST_HAS_DEATH_TEST
76TEST(StridedSliceOpTest, UnsupportedInputSize) {
77 EXPECT_DEATH(
78 StridedSliceOpModel<>({2, 2, 2, 2, 2}, {5}, {5}, {5}, 0, 0, 0, 0, 0),
79 "StridedSlice op only supports 1D-4D input arrays.");
80}
81
82TEST(StridedSliceOpTest, UnssupportedArgs) {
83 EXPECT_DEATH(StridedSliceOpModel<>({3, 2}, {2}, {2}, {2}, 0, 0, 1, 0, 0),

Callers

nothing calls this directly

Calls 9

EXPECT_DEATHFunction · 0.85
SetBeginMethod · 0.80
SetEndMethod · 0.80
SetStridesMethod · 0.80
SetInputMethod · 0.45
InvokeMethod · 0.45
GetOutputShapeMethod · 0.45
GetOutputMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected