Home
last modified time | relevance | path

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

/external/tflite-support/tensorflow_lite_support/codegen/
Dcode_generator_test.cc35 static std::string ConvertToValidName(const std::string& name) { in ConvertToValidName() function in tflite::support::codegen::__anoncade3e3c0111::CodeGeneratorTest::TestingCodeGenerator
36 return CodeGenerator::ConvertToValidName(name); in ConvertToValidName()
46 EXPECT_THAT(TestingCodeGenerator::ConvertToValidName("AlphaBetCOOL"), in TEST_F()
51 EXPECT_THAT(TestingCodeGenerator::ConvertToValidName("A+=B C\t"), "a__b_c_"); in TEST_F()
55 EXPECT_THAT(TestingCodeGenerator::ConvertToValidName("+KAI Z"), "kai_z"); in TEST_F()
59 EXPECT_THAT(TestingCodeGenerator::ConvertToValidName("3000 Cool Tensors"), in TEST_F()
Dcode_generator.cc93 std::string CodeGenerator::ConvertToValidName(const std::string& name) { in ConvertToValidName() function in tflite::support::codegen::CodeGenerator
127 auto suggested_name = ConvertToValidName(tensor.name()->str()); in NameTensor()
Dcode_generator.h69 static std::string ConvertToValidName(const std::string& name);