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

Function TEST_F

tensorflow/core/example/example_parser_configuration_test.cc:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66};
67
68TEST_F(ExtractExampleParserConfigurationTest, OpNotFound) {
69 std::vector<FixedLenFeature> dense_vec;
70 std::vector<VarLenFeature> sparse_vec;
71 Status status = ExtractExampleParserConfiguration(
72 graph_def_, "BlarseExample/ParseExample", session_.get(), &dense_vec,
73 &sparse_vec);
74
75 EXPECT_EQ(status.code(), error::INVALID_ARGUMENT);
76}
77
78TEST_F(ExtractExampleParserConfigurationTest, InconsistentAttrNsparse) {
79 std::vector<FixedLenFeature> dense_vec;

Callers

nothing calls this directly

Calls 8

TensorShapeClass · 0.50
getMethod · 0.45
codeMethod · 0.45
sizeMethod · 0.45
dimsMethod · 0.45
dim_sizeMethod · 0.45

Tested by

no test coverage detected