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

Function TEST

tensorflow/lite/kernels/space_to_batch_nd_test.cc:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111#ifdef GTEST_HAS_DEATH_TEST
112TEST(SpaceToBatchNDOpTest, InvalidShapeTest) {
113 EXPECT_DEATH(
114 SpaceToBatchNDOpConstModel({TensorType_FLOAT32, {1, 3, 3, 1}}, {2, 2},
115 {0, 0, 0, 0}, {TensorType_FLOAT32}),
116 "Cannot allocate tensors");
117}
118#endif
119
120TEST(SpaceToBatchNDOpTest, SimpleConstTest) {

Callers

nothing calls this directly

Calls 8

EXPECT_DEATHFunction · 0.85
SetInputMethod · 0.45
InvokeMethod · 0.45
GetOutputShapeMethod · 0.45
GetOutputMethod · 0.45
SetBlockShapeMethod · 0.45
SetPaddingsMethod · 0.45

Tested by

no test coverage detected