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

Function TEST_P

tensorflow/lite/toco/import_tensorflow_test.cc:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190};
191
192TEST_P(ShapeImportTest, ShapeElementIsNegative) {
193 NodeDef node;
194 BuildConstNode({1, -2, 10}, GetParam(), 0, &node);
195 auto status = ImportNode(node);
196 EXPECT_EQ(
197 status.error_message(),
198 "Tensor shape should not include negative values\n\t (while processing "
199 "node 'Node1')");
200}
201
202TEST_P(ShapeImportTest, ShapeElementIsZero) {
203 NodeDef node;

Callers

nothing calls this directly

Calls 9

BuildConstNodeFunction · 0.85
GetParamFunction · 0.85
ImportNodeFunction · 0.85
GeClass · 0.50
okMethod · 0.45
dimsMethod · 0.45
shapeMethod · 0.45
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected