Searched refs:name_tokens (Results 1 – 4 of 4) sorted by relevance
484 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 …]
71 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])
337 std::vector<string> name_tokens = str_util::Split(endpoint_def.name(), "."); in CreateEndpoint() local340 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()
398 std::vector<string> name_tokens = in ConvertAttributes() local400 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()