Searched refs:IsValidInputEnumName (Results 1 – 3 of 3) sorted by relevance
24 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 …]
63 bool IsValidInputEnumName(const std::string& name) { in IsValidInputEnumName() function113 if (!IsValidInputEnumName(enum_name)) { in GenerateHeader()
25 bool IsValidInputEnumName(const std::string& name);