Home
last modified time | relevance | path

Searched refs:name_tokens (Results 1 – 4 of 4) sorted by relevance

/external/googletest/googlemock/scripts/generator/cpp/
Dast.py484 name_tokens = []
491 for t in name_tokens:
497 if name_tokens:
498 result.append(Type(name_tokens[0].start, name_tokens[-1].end,
501 del name_tokens[:]
526 name_tokens.append(token)
529 if name_tokens:
1235 name_tokens, token = self.GetName()
1236 if name_tokens:
1237 name = ''.join([t.name for t in name_tokens])
[all …]
/external/tensorflow/tensorflow/python/ops/
Dtensor_array_grad.py71 name_tokens = op_or_tensor.name.split("/")
72 grad_pos = [i for i, x in enumerate(name_tokens) if x.startswith("gradients")]
81 return "/".join(name_tokens[:grad_pos[-1] + 1])
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_specs.cc337 std::vector<string> name_tokens = str_util::Split(endpoint_def.name(), "."); in CreateEndpoint() local
340 if (name_tokens.size() > 1) { in CreateEndpoint()
341 package = name_tokens.at(0); in CreateEndpoint()
342 name = name_tokens.at(1); in CreateEndpoint()
345 name = name_tokens.at(0); in CreateEndpoint()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc398 std::vector<string> name_tokens = in ConvertAttributes() local
400 TF_RET_CHECK(name_tokens.size() <= 2); in ConvertAttributes()
401 auto it = func_call_attrs.find(name_tokens[0]); in ConvertAttributes()
405 (*it->second.mutable_func()->mutable_attr())[name_tokens[1]] = value; in ConvertAttributes()