Searched refs:ReplaceAllWords (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | metal_arguments.cc | 35 void ReplaceAllWords(const std::string& old_word, const std::string& new_word, in ReplaceAllWords() function 244 ReplaceAllWords(kArgsPrefix + fvalue.first, "U." + fvalue.first, code); in ScalarArgumentsToStructWithScalarFields() 255 ReplaceAllWords(kArgsPrefix + hfvalue.first, in ScalarArgumentsToStructWithScalarFields() 267 ReplaceAllWords(kArgsPrefix + ivalue.first, "U." + ivalue.first, code); in ScalarArgumentsToStructWithScalarFields() 313 ReplaceAllWords(kArgsPrefix + fvalue.first, new_name, code); in ScalarArgumentsToStructWithVec4Fields() 328 ReplaceAllWords(kArgsPrefix + hfvalue.first, new_name, code); in ScalarArgumentsToStructWithVec4Fields() 344 ReplaceAllWords(kArgsPrefix + ivalue.first, new_name, code); in ScalarArgumentsToStructWithVec4Fields() 749 ReplaceAllWords("in_out_value", value_name, result); in ResolveSelector() 750 ReplaceAllWords("X_COORD", x_coord, result); in ResolveSelector() 751 ReplaceAllWords("Y_COORD", y_coord, result); in ResolveSelector() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_arguments.cc | 40 void ReplaceAllWords(const std::string& old_word, const std::string& new_word, in ReplaceAllWords() function 329 ReplaceAllWords(member_name, new_name, code); in ResolveObjectNames() 366 ReplaceAllWords("in_out_value", value_name, result); in ResolveSelector() 367 ReplaceAllWords("X_COORD", x_coord, result); in ResolveSelector() 368 ReplaceAllWords("Y_COORD", y_coord, result); in ResolveSelector() 369 ReplaceAllWords("S_COORD", s_coord, result); in ResolveSelector() 460 ReplaceAllWords(kArgsPrefix + fvalue.first, new_name, code); in RenameArgumentsInCode() 468 ReplaceAllWords(kArgsPrefix + ivalue.first, new_name, code); in RenameArgumentsInCode() 482 ReplaceAllWords(kArgsPrefix + hfvalue.first, new_name, code); in RenameArgumentsInCode()
|