Home
last modified time | relevance | path

Searched refs:IsValidInputEnumName (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/schema/builtin_ops_header/
Dgenerator_test.cc24 using tflite::builtin_ops_header::IsValidInputEnumName;
27 EXPECT_TRUE(IsValidInputEnumName("ADD")); in TEST()
28 EXPECT_TRUE(IsValidInputEnumName("CONV_2D")); in TEST()
29 EXPECT_TRUE(IsValidInputEnumName("L2_POOL_2D")); in TEST()
33 EXPECT_FALSE(IsValidInputEnumName("_ADD")); in TEST()
34 EXPECT_FALSE(IsValidInputEnumName("_CONV_2D")); in TEST()
38 EXPECT_FALSE(IsValidInputEnumName("_AdD")); in TEST()
39 EXPECT_FALSE(IsValidInputEnumName("_COnV_2D")); in TEST()
43 EXPECT_FALSE(IsValidInputEnumName("_AdD!2D")); in TEST()
44 EXPECT_FALSE(IsValidInputEnumName("_COnV?2D")); in TEST()
[all …]
Dgenerator.cc63 bool IsValidInputEnumName(const std::string& name) { in IsValidInputEnumName() function
113 if (!IsValidInputEnumName(enum_name)) { in GenerateHeader()
Dgenerator.h25 bool IsValidInputEnumName(const std::string& name);