Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dpython_api_info.cc125 param_names_.reserve(param_names.size()); in Initialize()
127 param_names_.push_back(InternPyString(param_name)); in Initialize()
136 for (int i = 0; i < param_names_.size(); ++i) { in Initialize()
137 param_name_to_index[param_names_[i]] = i; in Initialize()
174 std::vector<bool> param_found(param_names_.size()); in CheckParamNames()
184 for (int i = 0; i < param_names_.size(); ++i) { in CheckParamNames()
185 if (param_names_[i] == std::string("name")) { in CheckParamNames()
190 api_name_, ": missing specification for parameter ", param_names_[i]); in CheckParamNames()
398 absl::StrAppend(&s, " param_names=[", absl::StrJoin(param_names_, ", "), in DebugInfo()
421 ", name=", param_names_[input.index], in DebugInfo()
Dpython_op_gen.cc245 strings::StrAppend(&inputs, "list(", param_names_[i].GetRenameTo(), ")"); in FlattenInputs()
252 strings::StrCat("len(", param_names_[i].GetRenameTo(), ")")); in FlattenInputs()
263 strings::StrAppend(&inputs, param_names_[i].GetRenameTo()); in FlattenInputs()
348 param_names_.reserve(params_no_default_.size() + params_with_default_.size()); in Code()
349 param_names_.insert(param_names_.begin(), params_no_default_.begin(), in Code()
352 param_names_.push_back(param_and_default.first); in Code()
405 param_names_[i + op_def_.input_arg_size()].GetRenameTo(); in Code()
665 const string& arg_api_name = param_names_[*iter].GetRenameTo(); in GetEagerFunctionSetup()
689 const auto& param = param_names_[i + op_def_.input_arg_size()]; in GetEagerFunctionSetup()
943 const string param_name = param_names_[i].GetRenameTo(); in AddEagerFastPathExecute()
[all …]
Dpython_op_gen_internal.cc573 param_names_.reserve(params_no_default.size() + params_with_default.size()); in Code()
574 param_names_.insert(param_names_.begin(), params_no_default.begin(), in Code()
577 param_names_.push_back(param); in Code()
694 desc = strings::StrCat(param_names_[i].GetRenameTo(), ": "); in AddDocStringInputs()
696 desc = strings::StrCat(param_names_[i].GetRenameTo(), ": ", in AddDocStringInputs()
834 for (size_t i = 0; i < param_names_.size(); ++i) { in AddBodyNoReturn()
835 strings::StrAppend(&args, AvoidPythonReserved(param_names_[i].GetName()), in AddBodyNoReturn()
836 "=", param_names_[i].GetRenameTo(), ", "); in AddBodyNoReturn()
Dpython_api_info.h179 const std::vector<const char*>& param_names() const { return param_names_; } in param_names()
274 std::vector<const char*> param_names_; variable
Dpython_op_gen_internal.h116 std::vector<ParamNames> param_names_; variable