Home
last modified time | relevance | path

Searched refs:kArgsPrefix (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc177 constexpr char MetalArguments::kArgsPrefix[]; member in tflite::gpu::metal::MetalArguments
187 args->GetActiveArguments(kArgsPrefix, *code); in Init()
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()
672 size_t next_position = code->find(kArgsPrefix); in ResolveSelectorsPass()
675 next_position += strlen(kArgsPrefix); in ResolveSelectorsPass()
[all …]
Dmetal_arguments.h118 static constexpr char kArgsPrefix[] = "args."; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Darguments.cc93 static constexpr char kArgsPrefix[] = "args."; in RenameArgs() local
94 size_t next_position = code->find(kArgsPrefix); in RenameArgs()
96 size_t arg_pos = next_position + strlen(kArgsPrefix); in RenameArgs()
99 next_position = code->find(kArgsPrefix, arg_pos + arg_name.size()); in RenameArgs()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_arguments.cc209 constexpr char CLArguments::kArgsPrefix[]; member in tflite::gpu::cl::CLArguments
219 args->GetActiveArguments(kArgsPrefix, *code); in Init()
280 size_t next_position = code->find(kArgsPrefix); in ResolveSelectorsPass()
283 next_position += strlen(kArgsPrefix); in ResolveSelectorsPass()
317 position = arg_pos + strlen(kArgsPrefix); in ResolveSelectorsPass()
319 next_position = code->find(kArgsPrefix, position); in ResolveSelectorsPass()
328 const std::string new_name = kArgsPrefix + object_name + "_" + member_name; in ResolveObjectNames()
386 size_t next_position = code->find(kArgsPrefix); in ResolveArgsPass()
389 next_position += strlen(kArgsPrefix); in ResolveArgsPass()
392 code->replace(arg_pos, object_name.size() + strlen(kArgsPrefix), new_name); in ResolveArgsPass()
[all …]
Dcl_arguments.h109 static constexpr char kArgsPrefix[] = "args."; variable