Searched refs:prefix_cmp (Results 1 – 2 of 2) sorted by relevance
493 std::string prefix_cmp; in getRegByPrefix() local502 prefix_cmp = it->first; in getRegByPrefix()503 pos = prefix_cmp.find_first_of('('); in getRegByPrefix()506 prefix_cmp = prefix_cmp.substr(0, pos); in getRegByPrefix()508 if(prefix_cmp == reg_accessor.pszName) in getRegByPrefix()
2100 string prefix_cmp; in TF_AddGradientsWithPrefix()2105 prefix_cmp = string(prefix) + "/"; in TF_AddGradientsWithPrefix()2110 if ((name == prefix) || absl::StartsWith(name, prefix_cmp)) { in TF_AddGradientsWithPrefix()2140 if (prefix != nullptr && !absl::StartsWith(n->name(), prefix_cmp)) { in TF_AddGradientsWithPrefix()